mirror of
https://github.com/Fabio286/antares.git
synced 2025-06-05 21:59:22 +02:00
fix(PostgreSQL): issue with similar tabs on differend databases
This commit is contained in:
@@ -579,6 +579,7 @@ export const useWorkspacesStore = defineStore('workspaces', {
|
||||
tab.schema === schema &&
|
||||
tab.elementName === elementName &&
|
||||
tab.elementType === elementType &&
|
||||
tab.database === workspaceTabs.database &&
|
||||
[type, type.replace('temp-', '')].includes(tab.type))
|
||||
: false;
|
||||
|
||||
@@ -629,6 +630,7 @@ export const useWorkspacesStore = defineStore('workspaces', {
|
||||
tab.schema === schema &&
|
||||
tab.elementName === elementName &&
|
||||
tab.elementType === elementType &&
|
||||
tab.database === workspaceTabs.database &&
|
||||
[`temp-${type}`, type].includes(tab.type))
|
||||
: false;
|
||||
|
||||
|
Reference in New Issue
Block a user