mirror of
https://github.com/n8n-io/n8n.git
synced 2024-11-16 09:34:07 -08:00
24 lines
368 B
Vue
24 lines
368 B
Vue
|
<template>
|
||
|
<fragment></fragment>
|
||
|
</template>
|
||
|
|
||
|
<script lang="ts">
|
||
|
import Vue from 'vue';
|
||
|
|
||
|
import { mapGetters } from 'vuex';
|
||
|
|
||
|
export default Vue.extend({
|
||
|
name: 'Telemetry',
|
||
|
computed: {
|
||
|
...mapGetters(['telemetry']),
|
||
|
},
|
||
|
watch: {
|
||
|
telemetry(opts) {
|
||
|
if (opts.enabled) {
|
||
|
this.$telemetry.init(opts, this.$store.getters.instanceId);
|
||
|
}
|
||
|
},
|
||
|
},
|
||
|
});
|
||
|
</script>
|