fixed bug setting duplicate

master
A1Gard 2 months ago
parent 156ee392f6
commit 98589ebeab

@ -21,7 +21,7 @@ class PostSidebar
} }
public static function onRemove(Part $part = null) public static function onRemove(Part $part = null)
{ {
Setting::where('key',$part->area->name . '_' . $part->part.'_invert')->first()?->delete();
} }
public static function onMount(Part $part = null) public static function onMount(Part $part = null)
{ {

Loading…
Cancel
Save