mirror of
https://github.com/ershisan99/coolify.git
synced 2025-12-16 20:49:28 +00:00
refactor is_instance_admin
This commit is contained in:
@@ -26,7 +26,7 @@
|
||||
<h3 class="pb-4">Invite a new member</h3>
|
||||
@else
|
||||
<h3>Invite a new member</h3>
|
||||
@if (auth()->user()->isInstanceAdmin())
|
||||
@if (is_instance_admin())
|
||||
<div class="pb-4 text-xs text-warning">You need to configure <a href="/settings/emails"
|
||||
class="underline text-warning">Transactional
|
||||
Emails</a>
|
||||
|
||||
Reference in New Issue
Block a user