perf: refs #8201 onDataSaved fetch

This commit is contained in:
Jon Elias 2024-12-27 10:36:03 +01:00
parent 1ff54d7423
commit de30725322
1 changed files with 1 additions and 5 deletions

View File

@ -16,10 +16,6 @@ const companySizes = [
{ id: 'medium', name: t('globals.medium'), size: '6-50' },
{ id: 'big', name: t('globals.big'), size: '>50' },
];
const onSave = () => {
arrayData.fetch({});
};
</script>
<template>
<FormModel
@ -28,7 +24,7 @@ const onSave = () => {
model="supplier"
auto-load
:clear-store-on-unmount="false"
@on-data-saved="onSave"
@on-data-saved="arrayData.fetch({})"
>
<template #form="{ data, validate }">
<VnRow>