Common: add isOAuthAvailable
This commit is contained in:
parent
ab682fcabe
commit
62e5584924
@ -116,6 +116,14 @@ class QuotasStore {
|
||||
return result?.value;
|
||||
}
|
||||
|
||||
get isOAuthAvailable() {
|
||||
const result = this.currentPortalQuotaFeatures.find(
|
||||
(obj) => obj.id === "oauth"
|
||||
);
|
||||
|
||||
return result?.value;
|
||||
}
|
||||
|
||||
get isThirdPartyAvailable() {
|
||||
const result = this.currentPortalQuotaFeatures.find(
|
||||
(obj) => obj.id === "thirdparty"
|
||||
|
Loading…
Reference in New Issue
Block a user