mirror of
https://github.com/harvester/harvester-ui-extension.git
synced 2025-12-13 21:21:44 +00:00
Merge pull request #54 from a110605/port_6660
fix: keep parent sriov filter result if pcidevices status change
This commit is contained in:
commit
94429d6b64
@ -95,7 +95,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,
|
||||
},
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user