fixed bug setting duplicate

master
A1Gard 8 months ago
parent 5fa5b70d49
commit 779b8a7074

@ -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