瀏覽代碼

fix(webapp): don't show unnecessary DNSSEC setup instructions, fixes #800

Peter Thomassen 1 年之前
父節點
當前提交
35380bb3f6
共有 1 個文件被更改,包括 6 次插入1 次删除
  1. 6 1
      www/webapp/src/views/DomainSetup.vue

+ 6 - 1
www/webapp/src/views/DomainSetup.vue

@@ -1,5 +1,10 @@
 <template>
-  <div>
+  <div v-if="this.LOCAL_PUBLIC_SUFFIXES.some((suffix) => domain.endsWith('.' + suffix))">
+    <p class="mt-4">
+      You're domain is fully configured.
+    </p>
+  </div>
+  <div v-else>
     <p class="mt-4">
       The following steps need to be completed in order to use
       <span class="fixed-width">{{ domain }}</span> with deSEC.