fix unsuspend button (#2227)

This commit is contained in:
Charles
2026-02-12 16:31:20 -05:00
committed by GitHub
parent 3c1168beb5
commit 0bb4503c2b

View File

@@ -935,7 +935,7 @@ class EditServer extends EditRecord
->send();
}
}),
Action::make('toggleUnsuspend')
Action::make('exclude_toggle_unsuspend')
->label(trans('admin/server.unsuspend'))
->color('success')
->hidden(fn (Server $server) => !$server->isSuspended())