mirror of
https://github.com/grocy/grocy.git
synced 2025-08-16 10:44:37 +00:00
Use the now available @once directive instead of the legacy hack to only include component scripts once
This commit is contained in:
@@ -1,6 +1,8 @@
|
||||
@once
|
||||
@push('componentScripts')
|
||||
<script src="{{ $U('/viewjs/components/datetimepicker.js', true) }}?v={{ $version }}"></script>
|
||||
@endpush
|
||||
@endonce
|
||||
|
||||
@php if(!isset($isRequired)) { $isRequired = true; } @endphp
|
||||
@php if(!isset($initialValue)) { $initialValue = ''; } @endphp
|
||||
|
Reference in New Issue
Block a user