Fix return types
This commit is contained in:
parent
5ed66e9d40
commit
dd14d0b646
|
@ -71,7 +71,7 @@ export function getQueryIndex(viewName: ViewName) {
|
|||
export const isTableId = (id: string) => {
|
||||
// this includes datasource plus tables
|
||||
return (
|
||||
id &&
|
||||
!!id &&
|
||||
(id.startsWith(`${DocumentType.TABLE}${SEPARATOR}`) ||
|
||||
id.startsWith(`${DocumentType.DATASOURCE_PLUS}${SEPARATOR}`))
|
||||
)
|
||||
|
|
Loading…
Reference in New Issue