8004-liliumStyleRemake #1106

Merged
pablone merged 27 commits from 8004-liliumStyleRemake into dev 2024-12-19 09:42:17 +00:00
2 changed files with 3 additions and 10 deletions
Showing only changes of commit 5ac59840a2 - Show all commits

View File

@ -9,27 +9,21 @@ const hasContent = ref(false);
const rightPanel = ref(null);
onMounted(() => {
console.log('1-stateStore.rightDrawer: ', stateStore.rightDrawer);
rightPanel.value = document.querySelector('#right-panel');
if (!rightPanel.value) return;
console.log('2-stateStore.rightDrawer: ', stateStore.rightDrawer);
// Check if there's content to display
const observer = new MutationObserver(() => {
hasContent.value = rightPanel.value.childNodes.length;
});
console.log('3-stateStore.rightDrawer: ', stateStore.rightDrawer);
observer.observe(rightPanel.value, {
subtree: true,
childList: true,
attributes: true,
});
console.log('4-stateStore.rightDrawer: ', stateStore.rightDrawer);
if ((!slots['right-panel'] && !hasContent.value) || isMobile)
stateStore.rightDrawer = false;
console.log('5-stateStore.rightDrawer: ', stateStore.rightDrawer);
});
const { t } = useI18n();

View File

@ -14,11 +14,10 @@ import axios from 'axios';
import useNotify from 'src/composables/useNotify.js';
import { useQuasar } from 'quasar';
const quasar = useQuasar();
const { notify } = useNotify();
const route = useRoute();
const { t } = useI18n();
console.log(route.params.id);
const { notify } = useNotify();
const quasar = useQuasar();
const route = useRoute();
const bankEntitiesRef = ref(null);
const supplier = ref(null);