mirror of
https://github.com/grocy/grocy.git
synced 2025-08-16 18:54:35 +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/userfieldsform.js', true) }}?v={{ $version }}"></script>
|
||||
@endpush
|
||||
@endonce
|
||||
|
||||
@if(count($userfields) > 0)
|
||||
|
||||
|
Reference in New Issue
Block a user