Skip to content

Commit

Permalink
refactor(wizard): useless condition
Browse files Browse the repository at this point in the history
  • Loading branch information
btry committed Jun 2, 2023
1 parent 3419aff commit 5d6f1d3
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions front/wizard.php
Expand Up @@ -50,9 +50,7 @@
Html::header(__('Service catalog', 'formcreator'));
}

if (PluginFormcreatorEntityconfig::getUsedConfig('is_dashboard_visible', Session::getActiveEntity()) == PluginFormcreatorEntityconfig::CONFIG_DASHBOARD_VISIBLE) {
PluginFormcreatorCommon::showMiniDashboard();
}
PluginFormcreatorCommon::showMiniDashboard();

$form = PluginFormcreatorCommon::getForm();
$form->showServiceCatalog();
Expand Down

0 comments on commit 5d6f1d3

Please sign in to comment.