fixed bug setting duplicate

pull/49/head
A1Gard 4 months ago
parent 156ee392f6
commit 98589ebeab

@ -21,7 +21,7 @@ class PostSidebar
}
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)
{

Loading…
Cancel
Save