Skip to content
Snippets Groups Projects
Commit 75e85d32 authored by catch's avatar catch
Browse files

Issue #2121199 by swentel | Bojhan: Fixed Use empty table pattern in Configuration Management UI.

parent e1123158
2 merge requests!7452Issue #1797438. HTML5 validation is preventing form submit and not fully...,!789Issue #3210310: Adjust Database API to remove deprecated Drupal 9 code in Drupal 10
......@@ -140,7 +140,10 @@ public function buildForm(array $form, array &$form_state) {
$config_comparer = new StorageComparer($this->sourceStorage, $this->targetStorage);
if (empty($source_list) || !$config_comparer->createChangelist()->hasChanges()) {
$form['no_changes'] = array(
'#markup' => $this->t('There are no configuration changes.'),
'#theme' => 'table',
'#header' => array('Name', 'Operations'),
'#rows' => array(),
'#empty' => $this->t('There are no configuration changes.'),
);
$form['actions']['#access'] = FALSE;
return $form;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment