mirror of
https://github.com/Icinga/icingaweb2-module-businessprocess.git
synced 2026-01-17 18:12:53 -05:00
ProcessController: use new LegacyConfigRenderer
This commit is contained in:
parent
5443d73f08
commit
75dc5e0ef6
1 changed files with 2 additions and 1 deletions
|
|
@ -16,6 +16,7 @@ use Icinga\Module\Businessprocess\Renderer\Renderer;
|
|||
use Icinga\Module\Businessprocess\Renderer\TileRenderer;
|
||||
use Icinga\Module\Businessprocess\Renderer\TreeRenderer;
|
||||
use Icinga\Module\Businessprocess\Simulation;
|
||||
use Icinga\Module\Businessprocess\Storage\LegacyConfigRenderer;
|
||||
use Icinga\Module\Businessprocess\Web\Component\ActionBar;
|
||||
use Icinga\Module\Businessprocess\Web\Component\RenderedProcessActionBar;
|
||||
use Icinga\Module\Businessprocess\Web\Component\Tabs;
|
||||
|
|
@ -306,7 +307,7 @@ class ProcessController extends Controller
|
|||
$bp = $this->loadModifiedBpConfig();
|
||||
$this->view->showDiff = $showDiff = (bool) $this->params->get('showDiff', false);
|
||||
|
||||
$this->view->source = $this->storage()->render($bp);
|
||||
$this->view->source = LegacyConfigRenderer::renderConfig($bp);
|
||||
if ($this->view->showDiff) {
|
||||
$this->view->diff = ConfigDiff::create(
|
||||
$this->storage()->getSource($this->view->configName),
|
||||
|
|
|
|||
Loading…
Reference in a new issue