Skip to content

Commit

Permalink
fix(form): Fix form title when adding a new server (#1402)
Browse files Browse the repository at this point in the history
  • Loading branch information
almunnings authored May 15, 2024
1 parent 8a7ffd8 commit ae7decb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Form/ServerForm.php
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@ public function form(array $form, FormStateInterface $formState): array {
// the first schema that is defined.
$schema = ($input['schema'] ?? $server->get('schema')) ?: reset($schema_keys);

if ($this->operation == 'add') {
if ($this->operation == 'create') {
$form['#title'] = $this->t('Add server');
}
else {
Expand Down

0 comments on commit ae7decb

Please sign in to comment.