refactor(editor): Improve linting for component and prop names (no-changelog) (#8169)

This commit is contained in:
कारतोफ्फेलस्क्रिप्ट™
2023-12-28 09:49:58 +01:00
committed by GitHub
parent 639afcd7a5
commit 68cff4c59e
304 changed files with 3428 additions and 3516 deletions

View File

@@ -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>