Skip to content

Commit

Permalink
fix: keep parent sriov filter result if pcidevices status change
Browse files Browse the repository at this point in the history
Signed-off-by: andy.lee <[email protected]>
  • Loading branch information
a110605 committed Dec 26, 2024
1 parent 6282a76 commit 44458a0
Showing 1 changed file with 5 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,11 @@ export default {
devices: {
handler(v) {
this.rows = v;
this.filterRows = this.rows;
if (this.parentSriov) {
this.filterRows = this.rows.filter(row => row.labels[this.parentSriovLabel] === this.parentSriov);
} else {
this.filterRows = this.rows;
}
},
immediate: true,
},
Expand Down

0 comments on commit 44458a0

Please sign in to comment.