mirror of
https://github.com/donaldzou/WGDashboard.git
synced 2025-07-09 06:37:00 +00:00
Update configurationList.vue
This commit is contained in:
parent
6a88959ec4
commit
d7bc8cd8e4
@ -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;
|
||||
|
Loading…
x
Reference in New Issue
Block a user