From d7bc8cd8e49d7ea0229e6994de42add9e08a380f Mon Sep 17 00:00:00 2001 From: Donald Zou Date: Mon, 9 Dec 2024 16:13:06 +0800 Subject: [PATCH] Update configurationList.vue --- src/static/app/src/components/configurationList.vue | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/static/app/src/components/configurationList.vue b/src/static/app/src/components/configurationList.vue index 951eade..791741c 100644 --- a/src/static/app/src/components/configurationList.vue +++ b/src/static/app/src/components/configurationList.vue @@ -49,8 +49,6 @@ export default { return [...this.wireguardConfigurationsStore.Configurations] .filter(x => x.Name.includes(this.searchKey) || x.PublicKey.includes(this.searchKey) || !this.searchKey) .sort((a, b) => { - - if (this.currentSort.order === 'desc') { return this.dotNotation(a, this.currentSort.key) < this.dotNotation(b, this.currentSort.key) ? 1 : this.dotNotation(a, this.currentSort.key) > this.dotNotation(b, this.currentSort.key) ? -1 : 0;