mirror of
https://github.com/Karaka-Management/oms-Organization.git
synced 2026-02-02 09:48:42 +00:00
Fix view tpl bug
This commit is contained in:
parent
cecdfe6b4d
commit
9251e435b9
|
|
@ -245,7 +245,7 @@ class Controller extends ModuleAbstract implements WebInterface
|
|||
$selectorView = new \Modules\Organization\Theme\Backend\Components\DepartmentTagSelector\DepartmentTagSelectorView($this->app, $request, $response);
|
||||
$view->addData('department-selector', $selectorView);
|
||||
|
||||
$unitSelectorView = new \Modules\Organization\Theme\Backend\Components\DepartmentTagSelector\UnitTagSelectorView($this->app, $request, $response);
|
||||
$unitSelectorView = new \Modules\Organization\Theme\Backend\Components\UnitTagSelector\UnitTagSelectorView($this->app, $request, $response);
|
||||
$view->addData('unit-selector', $unitSelectorView);
|
||||
|
||||
$view->addData('department', DepartmentMapper::get((int) $request->getData('id')));
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user