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]>
(cherry picked from commit 44458a0)
  • Loading branch information
a110605 authored and mergify[bot] committed Dec 26, 2024
1 parent da9dd3b commit 261955a
Showing 1 changed file with 5 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,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 261955a

Please sign in to comment.