fix: sub for root
This commit is contained in:
parent
a6d5f3038c
commit
adaca4d4e3
1 changed files with 3 additions and 0 deletions
|
|
@ -47,6 +47,9 @@ function getEndDate()
|
|||
|
||||
function isSubscriptionActive()
|
||||
{
|
||||
if (auth()->user()->isAdminFromSession()) {
|
||||
return true;
|
||||
}
|
||||
if (!isCloud()) {
|
||||
return false;
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue