File tree Expand file tree Collapse file tree 1 file changed +4
-5
lines changed
Expand file tree Collapse file tree 1 file changed +4
-5
lines changed Original file line number Diff line number Diff line change @@ -78,15 +78,14 @@ protected function setUp(): void
7878
7979 return ! isset ($ arguments ['itemKey ' ]);
8080 })
81- ->label (fn ($ arguments ) => ($ arguments ['avoidToClear ' ] ?? false ) ? ' Avoid to clean ' : 'Wait to clean ' )
81+ ->label (fn ($ arguments ) => ($ arguments ['avoidToClear ' ] ?? false ) ? ' Wait to clean ' : 'Avoid to clean ' )
8282 ->color (fn ($ arguments ) => ($ arguments ['avoidToClear ' ] ?? false ) ? 'gray ' : 'danger ' )
8383 ->outlined ()
84- ->successNotificationTitle (fn ($ arguments ) => ($ arguments ['avoidToClear ' ] ?? false ) ? 'Now avoiding to clean ' : 'Now waiting to clean ' )
8584 ->successNotification (
86- fn (Notification $ notification ) => $ notification
85+ fn (Notification $ notification, $ arguments ) => $ notification
8786 ->icon (FilamentIcon::resolve ('inspirecms::warn ' ))
88- ->color ( ' warning ' )
89- ->iconColor ( 'warning ' )
87+ ->title (( $ arguments [ ' avoidToClear ' ] ?? false ) ? ' Now waiting to clean ' : ' Now avoiding to clean ' )
88+ ->status (( $ arguments [ ' avoidToClear ' ] ?? false ) ? ' info ' : 'warning ' )
9089 )
9190 ->action (function (array $ arguments , Action $ action , Model | Content $ record ) {
9291 if (! isset ($ arguments ['itemKey ' ])) {
You can’t perform that action at this time.
0 commit comments