mirror of
https://github.com/grocy/grocy.git
synced 2025-08-17 19:16: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/numberpicker.js', true) }}?v={{ $version }}"></script>
|
||||
@endpush
|
||||
@endonce
|
||||
|
||||
@php if(!isset($value)) { $value = 1; } @endphp
|
||||
@php if(empty($min)) { $min = 0; } @endphp
|
||||
|
Reference in New Issue
Block a user