tweak action

This commit is contained in:
notCharles
2026-01-31 15:00:04 -05:00
parent 826701c164
commit 5a56af418a
2 changed files with 1 additions and 3 deletions

View File

@@ -1013,7 +1013,7 @@ class EditServer extends EditRecord
])->fullWidth(),
ToggleButtons::make('export_help')
->hiddenLabel()
->hint('Export server configuration to a YAML file that can be imported on another panel'),
->hint(trans('admin/server.import_export.export_description')),
]),
Grid::make()
->columnSpan(3)

View File

@@ -24,8 +24,6 @@ class ExportServerConfigAction extends Action
$this->iconSize(IconSize::ExtraLarge);
$this->tooltip(trans('admin/server.import_export.export_tooltip'));
$this->authorize(fn () => user()?->can('view server'));
$this->modalHeading(fn (Server $server) => trans('admin/server.import_export.export_heading', ['name' => $server->name]));