fix: hide tab button on child table (#26148)
This commit is contained in:
parent
a73e65581d
commit
d758f0c3f5
1 changed files with 4 additions and 1 deletions
|
|
@ -40,7 +40,10 @@ function resize(e) {
|
|||
<div class="sidebar-container" :style="{ width: `${sidebar_width}px` }">
|
||||
<FieldProperties v-if="store.form.selected_field" />
|
||||
<div class="default-state" v-else>
|
||||
<div class="actions" v-if="store.form.layout.tabs.length == 1 && !store.read_only">
|
||||
<div
|
||||
class="actions"
|
||||
v-if="store.form.layout.tabs.length == 1 && !store.read_only && !store.doc.istable"
|
||||
>
|
||||
<button
|
||||
class="new-tab-btn btn btn-default btn-xs"
|
||||
:title="__('Add new tab')"
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue