diff options
Diffstat (limited to 'src/views')
-rw-r--r-- | src/views/_sila/PciDevices/PciDevices.vue | 23 |
1 files changed, 19 insertions, 4 deletions
diff --git a/src/views/_sila/PciDevices/PciDevices.vue b/src/views/_sila/PciDevices/PciDevices.vue index 76453a3a..77f40b66 100644 --- a/src/views/_sila/PciDevices/PciDevices.vue +++ b/src/views/_sila/PciDevices/PciDevices.vue @@ -51,6 +51,16 @@ export default { label: this.$t('pagePci.table.manufacturer'), formatter: this.dataFormatter, }, + { + key: 'classCode', + label: this.$t('pagePci.table.classCode'), + formatter: this.dataFormatter, + }, + { + key: 'deviceClass', + label: this.$t('pagePci.table.deviceClass'), + formatter: this.dataFormatter, + }, ], }; }, @@ -63,10 +73,15 @@ export default { created() { this.startLoader(); - this.$store.dispatch('pci/getDevices').finally(() => { - this.endLoader(); - this.isBusy = false; - }); + this.$store + .dispatch('pci/getDevices') + .then(() => { + this.$store.dispatch('pci/getFunctionDevices'); + }) + .finally(() => { + this.endLoader(); + this.isBusy = false; + }); }, }; </script> |