Skip to content

Commit

Permalink
Fix node name
Browse files Browse the repository at this point in the history
  • Loading branch information
notAreYouScared committed Oct 2, 2024
1 parent 95c501a commit 8f18a45
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion app/Filament/App/Pages/Settings.php
Original file line number Diff line number Diff line change
Expand Up @@ -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')
Expand Down

0 comments on commit 8f18a45

Please sign in to comment.