feat: refs #8304 added remove option to operator #1195
|
@ -1,7 +1,6 @@
|
||||||
<script setup>
|
<script setup>
|
||||||
jtubau marked this conversation as resolved
|
|||||||
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>
|
||||||
|
|
|
@ -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"
|
||||||
|
|
Loading…
Reference in New Issue
Revisar este componente porque no tiene el mismo estilo en dev que en esta rama