From eb089df36a2220c7dfd95f3ca2f7d96a88d3e50e Mon Sep 17 00:00:00 2001 From: Yoga Pangestu Date: Wed, 12 Nov 2025 19:33:48 +0700 Subject: [PATCH] fix(tier): hide modal after create or update --- app/Livewire/Studio/Loyalty/Tier/Reward.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/Livewire/Studio/Loyalty/Tier/Reward.php b/app/Livewire/Studio/Loyalty/Tier/Reward.php index 513914e..cf95442 100644 --- a/app/Livewire/Studio/Loyalty/Tier/Reward.php +++ b/app/Livewire/Studio/Loyalty/Tier/Reward.php @@ -64,7 +64,7 @@ public function create() $this->toast('Hadiah berhasil ditambahkan.'); - Flux::modals()->close(); + Flux::modal('reward-form-modal')->close(); } public function update() @@ -75,7 +75,7 @@ public function update() $this->toast('Hadiah berhasil diperbarui.'); - Flux::modals()->close(); + Flux::modal('reward-form-modal')->close(); } public function delete(TierReward $reward)