0
0
Fork 0

refs #6157 minorFix

This commit is contained in:
Carlos Satorres 2023-11-24 08:10:44 +01:00
parent d03092f41d
commit c3d9085a57
3 changed files with 0 additions and 6 deletions

View File

@ -34,7 +34,6 @@ const $props = defineProps({
const slots = useSlots(); const slots = useSlots();
const { t } = useI18n(); const { t } = useI18n();
defineExpose({ fetch });
const entity = computed(() => useArrayData($props.dataKey).store.data); const entity = computed(() => useArrayData($props.dataKey).store.data);
onMounted(async () => { onMounted(async () => {
await getData(); await getData();
@ -58,8 +57,6 @@ async function getData() {
emit('onFetch', data); emit('onFetch', data);
} }
const emit = defineEmits(['onFetch']); const emit = defineEmits(['onFetch']);
async function fetch() {}
</script> </script>
<template> <template>

View File

@ -68,7 +68,6 @@ const arrayData = useArrayData(props.dataKey, {
limit: props.limit, limit: props.limit,
order: props.order, order: props.order,
userParams: props.userParams, userParams: props.userParams,
skip: 0,
}); });
const store = arrayData.store; const store = arrayData.store;

View File

@ -19,9 +19,7 @@ const { t } = useI18n();
const STATE_COLOR = { const STATE_COLOR = {
pending: 'positive', pending: 'positive',
managed: 'warning', managed: 'warning',
resolved: 'negative', resolved: 'negative',
}; };
function stateColor(code) { function stateColor(code) {