refactor(component): menghapus navigate true untuk form yang pindah halaman
This commit is contained in:
parent
dc35b6f63c
commit
aca31921cf
@ -35,7 +35,7 @@ public function save()
|
||||
|
||||
$this->toast('Botol berhasil ditambahkan.');
|
||||
|
||||
$this->redirectRoute('studio.catalog.bottle.index', navigate: true);
|
||||
$this->redirectRoute('studio.catalog.bottle.index');
|
||||
}
|
||||
|
||||
public function render()
|
||||
|
||||
@ -38,7 +38,7 @@ public function save()
|
||||
|
||||
$this->toast('Botol berhasil diperbarui.');
|
||||
|
||||
$this->redirectRoute('studio.catalog.bottle.index', navigate: true);
|
||||
$this->redirectRoute('studio.catalog.bottle.index');
|
||||
}
|
||||
|
||||
public function render()
|
||||
|
||||
@ -56,7 +56,7 @@ public function save()
|
||||
|
||||
$this->toast('Parfum berhasil ditambahkan.');
|
||||
|
||||
$this->redirectRoute('studio.catalog.perfume.index', navigate: true);
|
||||
$this->redirectRoute('studio.catalog.perfume.index');
|
||||
}
|
||||
|
||||
public function render()
|
||||
|
||||
@ -49,7 +49,7 @@ public function save()
|
||||
|
||||
$this->toast('Parfum berhasil diperbarui.');
|
||||
|
||||
$this->redirectRoute('studio.catalog.perfume.index', navigate: true);
|
||||
$this->redirectRoute('studio.catalog.perfume.index');
|
||||
}
|
||||
|
||||
public function render()
|
||||
|
||||
@ -35,7 +35,7 @@ public function save()
|
||||
|
||||
$this->toast('Produk berhasil ditambahkan.');
|
||||
|
||||
$this->redirectRoute('studio.catalog.product.index', navigate: true);
|
||||
$this->redirectRoute('studio.catalog.product.index');
|
||||
}
|
||||
|
||||
public function render()
|
||||
|
||||
@ -38,7 +38,7 @@ public function save()
|
||||
|
||||
$this->toast('Produk berhasil diperbarui.');
|
||||
|
||||
$this->redirectRoute('studio.catalog.product.index', navigate: true);
|
||||
$this->redirectRoute('studio.catalog.product.index');
|
||||
}
|
||||
|
||||
public function render()
|
||||
|
||||
@ -43,7 +43,7 @@ public function save()
|
||||
|
||||
$this->toast('Voucher berhasil ditambahkan.');
|
||||
|
||||
$this->redirectRoute('studio.loyalty.voucher.index', navigate: true);
|
||||
$this->redirectRoute('studio.loyalty.voucher.index');
|
||||
}
|
||||
|
||||
public function render()
|
||||
|
||||
@ -36,7 +36,7 @@ public function save()
|
||||
|
||||
$this->toast('Voucher berhasil diperbarui.');
|
||||
|
||||
$this->redirectRoute('studio.loyalty.voucher.index', navigate: true);
|
||||
$this->redirectRoute('studio.loyalty.voucher.index');
|
||||
}
|
||||
|
||||
public function render()
|
||||
|
||||
@ -36,7 +36,7 @@ public function save()
|
||||
|
||||
$this->toast('Artikel berhasil ditambahkan.');
|
||||
|
||||
$this->redirectRoute('studio.manage.article.index', navigate: true);
|
||||
$this->redirectRoute('studio.manage.article.index');
|
||||
}
|
||||
|
||||
public function render()
|
||||
|
||||
@ -32,7 +32,7 @@ public function save()
|
||||
|
||||
$this->toast('Artikel berhasil diperbarui.');
|
||||
|
||||
$this->redirectRoute('studio.manage.article.index', navigate: true);
|
||||
$this->redirectRoute('studio.manage.article.index');
|
||||
}
|
||||
|
||||
public function render()
|
||||
|
||||
@ -105,7 +105,7 @@ public function save()
|
||||
|
||||
$this->toast('Order berhasil ditambahkan.');
|
||||
|
||||
$this->redirectRoute('studio.manage.order.index', navigate: true);
|
||||
$this->redirectRoute('studio.manage.order.index');
|
||||
}
|
||||
|
||||
public function updatedFormOutletId($value)
|
||||
|
||||
@ -66,7 +66,7 @@ public function save()
|
||||
|
||||
$this->toast('Belanja berhasil ditambahkan.');
|
||||
|
||||
$this->redirectRoute('studio.manage.purchase.index', navigate: true);
|
||||
$this->redirectRoute('studio.manage.purchase.index');
|
||||
}
|
||||
|
||||
public function render()
|
||||
|
||||
@ -38,7 +38,7 @@ public function save()
|
||||
|
||||
$this->toast('Outlet berhasil ditambahkan.');
|
||||
|
||||
$this->redirectRoute('studio.master.outlet.index', navigate: true);
|
||||
$this->redirectRoute('studio.master.outlet.index');
|
||||
}
|
||||
|
||||
public function render()
|
||||
|
||||
@ -36,7 +36,7 @@ public function save()
|
||||
|
||||
$this->toast('Outlet berhasil diperbarui.');
|
||||
|
||||
$this->redirectRoute('studio.master.outlet.index', navigate: true);
|
||||
$this->redirectRoute('studio.master.outlet.index');
|
||||
}
|
||||
|
||||
public function render()
|
||||
|
||||
@ -39,7 +39,7 @@ public function save()
|
||||
|
||||
$this->toast('Pegawai berhasil ditambahkan.');
|
||||
|
||||
$this->redirectRoute('studio.master.user.index', navigate: true);
|
||||
$this->redirectRoute('studio.master.user.index');
|
||||
}
|
||||
|
||||
public function render()
|
||||
|
||||
@ -42,7 +42,7 @@ public function save()
|
||||
|
||||
$this->toast('Pegawai berhasil diperbarui.');
|
||||
|
||||
$this->redirectRoute('studio.master.user.index', navigate: true);
|
||||
$this->redirectRoute('studio.master.user.index');
|
||||
}
|
||||
|
||||
public function render()
|
||||
|
||||
Loading…
Reference in New Issue
Block a user