mirror of
https://github.com/prurigro/hypothetical.git
synced 2024-11-09 11:16:39 -05:00
Fix dashboard create new item
This commit is contained in:
parent
74cebe30f5
commit
f3003ff586
1 changed files with 1 additions and 1 deletions
|
@ -19,7 +19,7 @@
|
||||||
<div class="container-fluid">
|
<div class="container-fluid">
|
||||||
@foreach($columns as $column)
|
@foreach($columns as $column)
|
||||||
<div class="row">
|
<div class="row">
|
||||||
@set('value', $item[$column['name']])
|
@set('value', $item !== null ? $item[$column['name']] : '')
|
||||||
@set('type', $id == 'new' && array_key_exists('type-new', $column) ? $column['type-new'] : $column['type'])
|
@set('type', $id == 'new' && array_key_exists('type-new', $column) ? $column['type-new'] : $column['type'])
|
||||||
|
|
||||||
@if($type == 'hidden')
|
@if($type == 'hidden')
|
||||||
|
|
Loading…
Reference in a new issue