forked from verdnatura/salix-front
fix: refs #8304 update VnSubToolbar to correctly toggle full-width class based on actionsChildCount
This commit is contained in:
parent
5ec1d7d311
commit
74eb296285
|
@ -40,7 +40,8 @@ onBeforeUnmount(() => stateStore.toggleSubToolbar() && hasSubToolbar);
|
|||
class="full-width sticky"
|
||||
>
|
||||
<slot name="st-data">
|
||||
<div id="st-data" :class="{ 'full-width': actionsChildCount }"></div>
|
||||
<div id="st-data" :class="{ 'full-width': !actionsChildCount() }">
|
||||
</div>
|
||||
</slot>
|
||||
<QSpace />
|
||||
<slot name="st-actions">
|
||||
|
|
Loading…
Reference in New Issue