mirror of https://github.com/Fabio286/antares.git
feat: button to open view settings tab
This commit is contained in:
parent
9d90dc362e
commit
32bbc45329
|
@ -118,7 +118,6 @@
|
||||||
<div class="divider-vert py-3" />
|
<div class="divider-vert py-3" />
|
||||||
|
|
||||||
<button
|
<button
|
||||||
v-if="isTable"
|
|
||||||
class="btn btn-dark btn-sm"
|
class="btn btn-dark btn-sm"
|
||||||
:disabled="isQuering"
|
:disabled="isQuering"
|
||||||
:title="t('word.settings')"
|
:title="t('word.settings')"
|
||||||
|
@ -447,13 +446,14 @@ const openTableSettingTab = () => {
|
||||||
uid: workspace.value.uid,
|
uid: workspace.value.uid,
|
||||||
elementName: props.table,
|
elementName: props.table,
|
||||||
schema: props.schema,
|
schema: props.schema,
|
||||||
type: 'table-props',
|
type: isTable.value ? 'table-props' : 'view-props',
|
||||||
elementType: 'table'
|
elementType: isTable.value ? 'table' : 'view'
|
||||||
});
|
});
|
||||||
|
|
||||||
changeBreadcrumbs({
|
changeBreadcrumbs({
|
||||||
schema: props.schema,
|
schema: props.schema,
|
||||||
table: props.table
|
table: isTable.value ? props.table : null,
|
||||||
|
view: !isTable.value ? props.table : null
|
||||||
});
|
});
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue