fix editingsrows
This commit is contained in:
parent
8bd4c8d2c3
commit
554f82570f
@ -13,7 +13,6 @@
|
||||
const { isAuth,userInfo,logout } = useAuth();
|
||||
|
||||
const getMenuItems = () =>{
|
||||
console.log(isAuth.value)
|
||||
if(isAuth.value){
|
||||
return [
|
||||
{
|
||||
|
@ -97,6 +97,7 @@ async function onRowEditSave(event) {
|
||||
async function removeWarehouse(id) {
|
||||
try {
|
||||
await deleteWarehouse(id);
|
||||
editingRows.value = [];
|
||||
warehouses.value = await getWarehouses();
|
||||
toast.add({ severity: 'success', life: 2500, summary: 'Succès', detail: 'Entrepôt supprimé' });
|
||||
} catch (error) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user