From 8f18a45a04d7d93bad8bccee675b31b6118b5473 Mon Sep 17 00:00:00 2001 From: notCharles Date: Tue, 1 Oct 2024 20:57:54 -0400 Subject: [PATCH] Fix node name --- app/Filament/App/Pages/Settings.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/app/Filament/App/Pages/Settings.php b/app/Filament/App/Pages/Settings.php index ae2ed825a1..e40996d09b 100644 --- a/app/Filament/App/Pages/Settings.php +++ b/app/Filament/App/Pages/Settings.php @@ -111,8 +111,9 @@ public function form(Form $form): Form ]), Section::make('Node Information') ->schema([ - TextInput::make('node.name') // TODO: not working :( + TextInput::make('node.name') ->label('Node Name') + ->formatStateUsing(fn (Server $server) => $server->node->name) ->disabled(), Fieldset::make('SFTP Information') ->label('SFTP Information')