Fix return types

This commit is contained in:
Adria Navarro 2024-08-26 17:06:40 +02:00
parent 5ed66e9d40
commit dd14d0b646
1 changed files with 1 additions and 1 deletions

View File

@ -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}`))
)