Common: add isThirdPartyAvailable

This commit is contained in:
Viktor Fomin 2023-03-29 13:56:58 +03:00
parent 9e7bbf6492
commit 7356bd6170

View File

@ -116,6 +116,14 @@ class QuotasStore {
return result?.value;
}
get isThirdPartyAvailable() {
const result = this.currentPortalQuotaFeatures.find(
(obj) => obj.id === "thirdparty"
);
return result?.value;
}
get isSSOAvailable() {
const result = this.currentPortalQuotaFeatures.find(
(obj) => obj.id === "sso"