From 8fb7cc8469f67054766277509e020952474754f6 Mon Sep 17 00:00:00 2001 From: axolotle Date: Tue, 1 Feb 2022 17:44:50 +0100 Subject: [PATCH] update DomainList with RecursiveListGroup --- app/src/i18n/locales/en.json | 6 ++- app/src/views/domain/DomainList.vue | 77 ++++++++++++++++++----------- 2 files changed, 53 insertions(+), 30 deletions(-) diff --git a/app/src/i18n/locales/en.json b/app/src/i18n/locales/en.json index c1f3e4c5..aea969f0 100644 --- a/app/src/i18n/locales/en.json +++ b/app/src/i18n/locales/en.json @@ -160,7 +160,11 @@ "push_force": "Overwrite existing records", "push_force_confirm": "Are you sure you want to force push all suggested dns records? Be aware that it may overwrite manually or important default records set by you or your registrar.", "push_force_warning": "It looks like some DNS records that YunoHost would have set are already in the registrar configuration. You can use the overwrite option if you know what you are doing." - } + }, + "types": { + "main_domain": "Main domain" + }, + "toggle_subdomains": "Toggle subdomains" }, "domain_add": "Add domain", "domain_add_dns_doc": "… and I have set my DNS correctly.", diff --git a/app/src/views/domain/DomainList.vue b/app/src/views/domain/DomainList.vue index 5e2f1795..94135b76 100644 --- a/app/src/views/domain/DomainList.vue +++ b/app/src/views/domain/DomainList.vue @@ -3,9 +3,10 @@ id="domain-list" :search.sync="search" :items="domains" - :filtered-items="filteredDomains" items-name="domains" :queries="queries" + :filtered-items="hasFilteredItems" + @queries-response="onQueriesResponse" > - - -
-
- {{ domain }} - - {{ $t('words.default') }} - + + +