diff --git a/resources/views/segments/post/PostSidebar/PostSidebar.php b/resources/views/segments/post/PostSidebar/PostSidebar.php index 70b892e..4f3d2af 100644 --- a/resources/views/segments/post/PostSidebar/PostSidebar.php +++ b/resources/views/segments/post/PostSidebar/PostSidebar.php @@ -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) {