Skip to content

Commit c73dba4

Browse files
committed
Better visual spacing
Signed-off-by: snipe <[email protected]>
1 parent 5e61a81 commit c73dba4

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

app/Http/Controllers/ModalController.php

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -41,10 +41,11 @@ public function show ($type, $itemId = null) {
4141
$view = view("modals.${type}");
4242

4343
if ($type == "statuslabel") {
44-
$view->with('statuslabel_types', Helper::statusTypeList());
45-
}
46-
if (in_array($type, ['kit-model', 'kit-license', 'kit-consumable', 'kit-accessory'])) {
47-
$view->with('kitId', $itemId);
44+
$view->with('statuslabel_types', Helper::statusTypeList());
45+
}
46+
47+
if (in_array($type, ['kit-model', 'kit-license', 'kit-consumable', 'kit-accessory'])) {
48+
$view->with('kitId', $itemId);
4849
}
4950
return $view;
5051
}

0 commit comments

Comments
 (0)