Merge branch 'master' of https://github.com/Fabio286/antares into vue3-migration

This commit is contained in:
Fabio Di Stasio 2022-04-30 12:03:32 +02:00
commit 4be0f6bbbc
2 changed files with 10 additions and 2 deletions

View File

@ -71,7 +71,7 @@ export class SQLiteClient extends AntaresCore {
SELECT *
FROM "${db.name}".sqlite_master
WHERE type IN ('table', 'view')
AND name NOT LIKE 'sqlite_%'
AND name NOT LIKE 'sqlite\\_%' ESCAPE '\\'
ORDER BY name
`);
if (tables.length) {
@ -743,4 +743,12 @@ export class SQLiteClient extends AntaresCore {
return result as unknown as T;
}
getVariables (): null[] {
return [];
}
getCollations (): null[] {
return [];
}
}

View File

@ -90,7 +90,7 @@ export default {
const connectionName = this.getConnectionName(this.selectedWorkspace);
const workspace = this.getWorkspace(this.selectedWorkspace);
const breadcrumbs = Object.values(workspace.breadcrumbs).filter(breadcrumb => breadcrumb);
const breadcrumbs = Object.values(workspace.breadcrumbs).filter(breadcrumb => breadcrumb) || [workspace.client];
return [connectionName, ...breadcrumbs].join(' • ');
}