fix electron check

This commit is contained in:
liamcottle 2024-08-07 21:34:00 +12:00
parent d36a30d134
commit 67751b1f0e
2 changed files with 4 additions and 2 deletions

View file

@ -127,6 +127,8 @@ export default {
formatBytes: function(bytes) {
return Utils.formatBytes(bytes);
},
},
computed: {
isElectron() {
return ElectronUtils.isElectron();
},

View file

@ -350,11 +350,11 @@ export default {
formatBytes: function(bytes) {
return Utils.formatBytes(bytes);
},
},
computed: {
isElectron() {
return ElectronUtils.isElectron();
},
},
computed: {
interfacesWithStats() {
const results = [];
for(const [interfaceName, iface] of Object.entries(this.interfaces)){