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