init
This commit is contained in:
26
web/src/components/SummaryTab.vue
Normal file
26
web/src/components/SummaryTab.vue
Normal file
@@ -0,0 +1,26 @@
|
||||
<template>
|
||||
<div v-if="Object.keys(summary).length === 0">
|
||||
No agent selected
|
||||
</div>
|
||||
<div v-else>
|
||||
{{ summary.operating_system }}
|
||||
</div>
|
||||
</template>
|
||||
|
||||
<script>
|
||||
import axios from 'axios';
|
||||
export default {
|
||||
name: 'SummaryTab',
|
||||
data() {
|
||||
return {
|
||||
|
||||
}
|
||||
},
|
||||
computed: {
|
||||
summary() {
|
||||
return this.$store.state.agentSummary;
|
||||
}
|
||||
}
|
||||
}
|
||||
</script>
|
||||
|
||||
Reference in New Issue
Block a user