Only check update for super admin
This commit is contained in:
parent
f064b9271c
commit
83247087cb
@ -84,7 +84,9 @@
|
||||
|
||||
<!-- App Scripts -->
|
||||
@include('common.dependencies.script')
|
||||
<script defer src="{{ webpack_assets('check-updates.js') }}"></script>
|
||||
@if ($user->permission >= \App\Models\User::SUPER_ADMIN)
|
||||
<script defer src="{{ webpack_assets('check-updates.js') }}"></script>
|
||||
@endif
|
||||
@yield('script')
|
||||
</body>
|
||||
</html>
|
||||
|
Loading…
Reference in New Issue
Block a user