feat: refs #8304 added remove option to operator #1195

Merged
jtubau merged 27 commits from 8304-workerChangesAndFixes into dev 2025-02-05 12:25:27 +00:00
2 changed files with 2 additions and 3 deletions
Showing only changes of commit fb902b54bc - Show all commits

View File

@ -1,7 +1,6 @@
<script setup> <script setup>
jtubau marked this conversation as resolved
Review

Revisar este componente porque no tiene el mismo estilo en dev que en esta rama

Revisar este componente porque no tiene el mismo estilo en dev que en esta rama
import { onMounted, onBeforeUnmount, ref } from 'vue'; import { onMounted, onBeforeUnmount, ref } from 'vue';
import { useStateStore } from 'stores/useStateStore'; import { useStateStore } from 'stores/useStateStore';
import { computed } from 'vue';
const stateStore = useStateStore(); const stateStore = useStateStore();
const actions = ref(null); const actions = ref(null);
@ -26,7 +25,7 @@ onMounted(() => {
if (data.value) observer.observe(data.value, opts); if (data.value) observer.observe(data.value, opts);
}); });
const actionsChildCount = computed(() => !!actions.value?.childNodes?.length); const actionsChildCount = () => !!actions.value?.childNodes?.length;
onBeforeUnmount(() => stateStore.toggleSubToolbar() && hasSubToolbar); onBeforeUnmount(() => stateStore.toggleSubToolbar() && hasSubToolbar);
</script> </script>

View File

@ -201,7 +201,7 @@ watch([year, businessFk], () => refreshData());
:save-url="saveUrl" :save-url="saveUrl"
@on-fetch=" @on-fetch="
(data) => { (data) => {
saveUrl = `Businesses/${data[0].id}`; saveUrl = `Businesses/${data.id}`;
} }
" "
:body="body" :body="body"