diff options
Diffstat (limited to 'ui/app/models/provider.js')
-rw-r--r-- | ui/app/models/provider.js | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/ui/app/models/provider.js b/ui/app/models/provider.js index 2ed2dc8c..af634339 100644 --- a/ui/app/models/provider.js +++ b/ui/app/models/provider.js @@ -23,6 +23,14 @@ export default class Provider { return this._description[LOCALE] } + get hasEmail() { + return this.services.includes("mx") + } + + get hasVPN() { + return this.services.includes("openvpn") + } + static setup(domain) { return bitmask.bonafide.provider.create(domain).then( response => { |