File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -90,14 +90,14 @@ public function delete(): void
9090
9191 public function moveUp (): void
9292 {
93- // Call parent method directly to avoid component refresh issues
94- $ this ->dispatch ('move-item-up ' , ['itemId ' => $ this ->item ->id ])-> to ( ' filament-flexible-content-block-pages::menu-resource.pages.manage-menu-items ' ) ;
93+ // Dispatch event to parent component to move item up
94+ $ this ->dispatch ('move-item-up ' , ['itemId ' => $ this ->item ->id ]);
9595 }
9696
9797 public function moveDown (): void
9898 {
99- // Call parent method directly to avoid component refresh issues
100- $ this ->dispatch ('move-item-down ' , ['itemId ' => $ this ->item ->id ])-> to ( ' filament-flexible-content-block-pages::menu-resource.pages.manage-menu-items ' ) ;
99+ // Dispatch event to parent component to move item down
100+ $ this ->dispatch ('move-item-down ' , ['itemId ' => $ this ->item ->id ]);
101101 }
102102
103103 public function render ()
You can’t perform that action at this time.
0 commit comments