mirror of
https://github.com/Abdulazizzn/n8n-enterprise-unlocked.git
synced 2025-12-21 03:42:16 +00:00
refactor(editor): Improve linting for component and prop names (no-changelog) (#8169)
This commit is contained in:
committed by
GitHub
parent
639afcd7a5
commit
68cff4c59e
@@ -32,6 +32,21 @@ export default defineComponent({
|
||||
return !!this.telemetry?.enabled;
|
||||
},
|
||||
},
|
||||
watch: {
|
||||
telemetry() {
|
||||
this.init();
|
||||
},
|
||||
currentUserId(userId) {
|
||||
if (this.isTelemetryEnabled) {
|
||||
this.$telemetry.identify(this.rootStore.instanceId, userId);
|
||||
}
|
||||
},
|
||||
isTelemetryEnabledOnRoute(enabled) {
|
||||
if (enabled) {
|
||||
this.init();
|
||||
}
|
||||
},
|
||||
},
|
||||
mounted() {
|
||||
this.init();
|
||||
},
|
||||
@@ -53,20 +68,5 @@ export default defineComponent({
|
||||
this.isTelemetryInitialized = true;
|
||||
},
|
||||
},
|
||||
watch: {
|
||||
telemetry() {
|
||||
this.init();
|
||||
},
|
||||
currentUserId(userId) {
|
||||
if (this.isTelemetryEnabled) {
|
||||
this.$telemetry.identify(this.rootStore.instanceId, userId);
|
||||
}
|
||||
},
|
||||
isTelemetryEnabledOnRoute(enabled) {
|
||||
if (enabled) {
|
||||
this.init();
|
||||
}
|
||||
},
|
||||
},
|
||||
});
|
||||
</script>
|
||||
|
||||
Reference in New Issue
Block a user