0
0
Fork 0

fix: refs #7187 fix reload

This commit is contained in:
Pablo Natek 2024-05-21 00:34:03 +02:00
parent b704692f3f
commit 9468e409ea
1 changed files with 7 additions and 1 deletions

View File

@ -40,6 +40,12 @@ const deallocatePDA = async (deviceProductionFk) => {
} }
paginate.value.fetch(); paginate.value.fetch();
}; };
function reloadData() {
initialData.value.deviceProductionFk = null;
initialData.value.simSerialNumber = null;
paginate.value.fetch();
}
</script> </script>
<template> <template>
@ -128,7 +134,7 @@ const deallocatePDA = async (deviceProductionFk) => {
url-create="DeviceProductionUsers" url-create="DeviceProductionUsers"
model="DeviceProductionUser" model="DeviceProductionUser"
:form-initial-data="initialData" :form-initial-data="initialData"
@on-data-saved="paginate.fetch()" @on-data-saved="reloadData()"
> >
<template #form-inputs="{ data }"> <template #form-inputs="{ data }">
<VnRow class="row q-gutter-md q-mb-md"> <VnRow class="row q-gutter-md q-mb-md">