mirror of
https://github.com/Abdulazizzn/n8n-enterprise-unlocked.git
synced 2025-12-17 10:02:05 +00:00
⚡ Support telemetry page (#2756)
* support telemetry page events * add log level to FE settings * add debug logging * fix types * state fix * move call
This commit is contained in:
@@ -10,12 +10,12 @@ import { mapGetters } from 'vuex';
|
||||
export default Vue.extend({
|
||||
name: 'Telemetry',
|
||||
computed: {
|
||||
...mapGetters(['telemetry']),
|
||||
...mapGetters('settings', ['telemetry']),
|
||||
},
|
||||
watch: {
|
||||
telemetry(opts) {
|
||||
if (opts.enabled) {
|
||||
this.$telemetry.init(opts, this.$store.getters.instanceId);
|
||||
if (opts && opts.enabled) {
|
||||
this.$telemetry.init(opts, this.$store.getters.instanceId, this.$store.getters['settings/logLevel']);
|
||||
}
|
||||
},
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user