feat: button to open view settings tab

This commit is contained in:
Fabio Di Stasio 2023-07-07 09:04:40 +02:00
parent 9d90dc362e
commit 32bbc45329
1 changed files with 4 additions and 4 deletions

View File

@ -118,7 +118,6 @@
<div class="divider-vert py-3" />
<button
v-if="isTable"
class="btn btn-dark btn-sm"
:disabled="isQuering"
:title="t('word.settings')"
@ -447,13 +446,14 @@ const openTableSettingTab = () => {
uid: workspace.value.uid,
elementName: props.table,
schema: props.schema,
type: 'table-props',
elementType: 'table'
type: isTable.value ? 'table-props' : 'view-props',
elementType: isTable.value ? 'table' : 'view'
});
changeBreadcrumbs({
schema: props.schema,
table: props.table
table: isTable.value ? props.table : null,
view: !isTable.value ? props.table : null
});
};