Commit 75e85d32 authored by catch's avatar catch

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

parent e1123158
......@@ -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;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment