Better visual spacing

Signed-off-by: snipe <snipe@snipe.net>
This commit is contained in:
snipe 2025-03-12 17:28:05 +00:00
parent 5e61a814a7
commit c73dba4a43

View file

@ -41,10 +41,11 @@ class ModalController extends Controller
$view = view("modals.${type}"); $view = view("modals.${type}");
if ($type == "statuslabel") { if ($type == "statuslabel") {
$view->with('statuslabel_types', Helper::statusTypeList()); $view->with('statuslabel_types', Helper::statusTypeList());
} }
if (in_array($type, ['kit-model', 'kit-license', 'kit-consumable', 'kit-accessory'])) {
$view->with('kitId', $itemId); if (in_array($type, ['kit-model', 'kit-license', 'kit-consumable', 'kit-accessory'])) {
$view->with('kitId', $itemId);
} }
return $view; return $view;
} }