From f02ff602b57f06ff7da076d998f6f4c24b411da7 Mon Sep 17 00:00:00 2001 From: Angelina Filippova Date: Sun, 7 Feb 2021 01:15:31 +0300 Subject: [PATCH] Implement search for Relays --- src/store/modules/normalizers.js | 6 ++++++ src/views/settings/components/Relays.vue | 13 ++++++++++++- 2 files changed, 18 insertions(+), 1 deletion(-) diff --git a/src/store/modules/normalizers.js b/src/store/modules/normalizers.js index 150865d0..8379a8b0 100644 --- a/src/store/modules/normalizers.js +++ b/src/store/modules/normalizers.js @@ -308,6 +308,12 @@ export const formSearchObject = description => { key: ':terms_of_services', label: 'Terms of Services', search: ['Terms of Services', ':terms_of_services'] + }, { + groupKey: 'relays', + groupLabel: 'Relays', + key: ':relays', + label: 'Relays', + search: ['Relays', ':relays'] }] return processedDescription.concat(searchDataForEditableDocs) } diff --git a/src/views/settings/components/Relays.vue b/src/views/settings/components/Relays.vue index 4ac29042..9e8d16a8 100644 --- a/src/views/settings/components/Relays.vue +++ b/src/views/settings/components/Relays.vue @@ -1,5 +1,5 @@