Skip to content

Commit

Permalink
fix: 🐛 Fixed the issue of duplicate filter conditions in the device list
Browse files Browse the repository at this point in the history
  • Loading branch information
viarotel committed Feb 17, 2025
1 parent 87bc74f commit 6c4242c
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions src/pages/device/index.vue
Original file line number Diff line number Diff line change
Expand Up @@ -203,10 +203,12 @@ export default {
return this.selectionRows.length > 0
},
statusFilters() {
const value = deviceStatus.map(item => ({
text: window.t(item.label),
value: item.value,
}))
const value = deviceStatus
.map(item => ({
text: window.t(item.label),
value: item.value,
}))
.filter(item => !['emulator'].includes(item.value))
return value
},
Expand Down

0 comments on commit 6c4242c

Please sign in to comment.