File tree Expand file tree Collapse file tree 1 file changed +11
-3
lines changed
core/frontend/src/components/system-information Expand file tree Collapse file tree 1 file changed +11
-3
lines changed Original file line number Diff line number Diff line change @@ -32,7 +32,8 @@ export default Vue.extend({
3232 name: ' Processes' ,
3333 data() {
3434 return {
35- timer: 0 ,
35+ timer_unix: 0 ,
36+ timer_model: 0 ,
3637 }
3738 },
3839 computed: {
@@ -50,6 +51,11 @@ export default Vue.extend({
5051 {
5152 title: ' Kernel' , value: ` ${info .kernel_version } ` ,
5253 },
54+ {
55+ title: ' Model' , value: ` ${system_information .model ?.model ?? ' Unknown Model' } ` +
56+ ` - ${system_information .model ?.arch ?? ' Unknown Architecture' } ` +
57+ ` (${system_information .model ?.cpu_name ?? ' Unknown CPU' }) ` ,
58+ },
5359 {
5460 title: ' Hostname' , value: ` ${info .host_name } ` ,
5561 },
@@ -75,10 +81,12 @@ export default Vue.extend({
7581 },
7682 },
7783 mounted() {
78- this .timer = setInterval (() => system_information .fetchSystemInformation (FetchType .SystemUnixTimeSecondsType ), 1000 )
84+ this .timer_unix = setInterval (() => system_information .fetchSystemInformation (FetchType .SystemUnixTimeSecondsType ), 1000 )
85+ this .timer_model = setInterval (() => system_information .fetchSystemInformation (FetchType .ModelType ), 1000 )
7986 },
8087 beforeDestroy() {
81- clearInterval (this .timer )
88+ clearInterval (this .timer_unix )
89+ clearInterval (this .timer_model )
8290 },
8391})
8492 </script >
You can’t perform that action at this time.
0 commit comments