1
1
mirror of https://github.com/Fabio286/antares.git synced 2025-06-05 21:59:22 +02:00

refactor(SQLite): improved sqlite window title

This commit is contained in:
2022-04-25 17:37:12 +02:00
parent 690cdcb2eb
commit d61acf8a00
2 changed files with 11 additions and 5 deletions

View File

@ -79,7 +79,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(' • ');
}