Skip to content

Commit ae7decb

Browse files
authored
fix(form): Fix form title when adding a new server (#1402)
1 parent 8a7ffd8 commit ae7decb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Form/ServerForm.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -100,7 +100,7 @@ public function form(array $form, FormStateInterface $formState): array {
100100
// the first schema that is defined.
101101
$schema = ($input['schema'] ?? $server->get('schema')) ?: reset($schema_keys);
102102

103-
if ($this->operation == 'add') {
103+
if ($this->operation == 'create') {
104104
$form['#title'] = $this->t('Add server');
105105
}
106106
else {

0 commit comments

Comments
 (0)