summaryrefslogtreecommitdiff
path: root/ui/app/models/provider.js
diff options
context:
space:
mode:
Diffstat (limited to 'ui/app/models/provider.js')
-rw-r--r--ui/app/models/provider.js8
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 => {