Common: add isOAuthAvailable

This commit is contained in:
Viktor Fomin 2023-03-29 14:43:48 +03:00
parent ab682fcabe
commit 62e5584924

View File

@ -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"