Better visual spacing
Signed-off-by: snipe <snipe@snipe.net>
This commit is contained in:
parent
5e61a814a7
commit
c73dba4a43
1 changed files with 5 additions and 4 deletions
|
@ -41,10 +41,11 @@ class ModalController extends Controller
|
|||
$view = view("modals.${type}");
|
||||
|
||||
if ($type == "statuslabel") {
|
||||
$view->with('statuslabel_types', Helper::statusTypeList());
|
||||
}
|
||||
if (in_array($type, ['kit-model', 'kit-license', 'kit-consumable', 'kit-accessory'])) {
|
||||
$view->with('kitId', $itemId);
|
||||
$view->with('statuslabel_types', Helper::statusTypeList());
|
||||
}
|
||||
|
||||
if (in_array($type, ['kit-model', 'kit-license', 'kit-consumable', 'kit-accessory'])) {
|
||||
$view->with('kitId', $itemId);
|
||||
}
|
||||
return $view;
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue