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()
|
function isSubscriptionActive()
|
||||||
{
|
{
|
||||||
|
if (auth()->user()->isAdminFromSession()) {
|
||||||
|
return true;
|
||||||
|
}
|
||||||
if (!isCloud()) {
|
if (!isCloud()) {
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue