8627-devToTest #1421
|
@ -27,7 +27,7 @@ onMounted(() => {
|
||||||
});
|
});
|
||||||
|
|
||||||
const actionsChildCount = () => {
|
const actionsChildCount = () => {
|
||||||
return !!actions.value.childNodes.length;
|
return !!actions.value?.childNodes?.length;
|
||||||
};
|
};
|
||||||
|
|
||||||
onBeforeUnmount(() => stateStore.toggleSubToolbar() && hasSubToolbar);
|
onBeforeUnmount(() => stateStore.toggleSubToolbar() && hasSubToolbar);
|
||||||
|
@ -37,7 +37,7 @@ onBeforeUnmount(() => stateStore.toggleSubToolbar() && hasSubToolbar);
|
||||||
<QToolbar
|
<QToolbar
|
||||||
id="subToolbar"
|
id="subToolbar"
|
||||||
v-show="hasContent || $slots['st-actions'] || $slots['st-data']"
|
v-show="hasContent || $slots['st-actions'] || $slots['st-data']"
|
||||||
class="full-width sticky"
|
class="justify-end sticky"
|
||||||
>
|
>
|
||||||
<slot name="st-data">
|
<slot name="st-data">
|
||||||
<div id="st-data" :class="{ 'full-width': !actionsChildCount() }">
|
<div id="st-data" :class="{ 'full-width': !actionsChildCount() }">
|
||||||
|
|
Loading…
Reference in New Issue