8627-devToTest #1421

Merged
alexm merged 768 commits from 8627-devToTest into test 2025-02-18 12:37:37 +00:00
1 changed files with 2 additions and 2 deletions
Showing only changes of commit 559bf0db02 - Show all commits

View File

@ -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() }">