blob: afaf06f7f68f7bf21e37fd16a3e205d22bae030f (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
|
<script>
import { mapState } from 'vuex';
import TerminalSyncStatus from './terminal_sync_status.vue';
/**
* It is possible that the vuex module is not registered.
*
* This component will gracefully handle this so the actual one can simply use `mapState(moduleName, ...)`.
*/
export default {
components: {
TerminalSyncStatus,
},
computed: {
...mapState(['terminalSync']),
},
};
</script>
<template>
<terminal-sync-status v-if="terminalSync" />
</template>
|