From ae7decb3ae517ba4c2b659aef120eb6fefa96adb Mon Sep 17 00:00:00 2001 From: Al Munnings Date: Thu, 16 May 2024 00:59:10 +1000 Subject: [PATCH] fix(form): Fix form title when adding a new server (#1402) --- src/Form/ServerForm.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Form/ServerForm.php b/src/Form/ServerForm.php index eb955f315..29799100d 100644 --- a/src/Form/ServerForm.php +++ b/src/Form/ServerForm.php @@ -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 {