fix(editor): Check for PostHog before feature flag call (#3928)

* 🐛 Check for PH before feature flag call

* 🔥 Remove logging
This commit is contained in:
Iván Ovejero
2022-08-24 10:48:13 +02:00
committed by GitHub
parent 76f9ad8bae
commit db02a379d9
2 changed files with 30 additions and 1 deletions

View File

@@ -2051,7 +2051,7 @@ export default mixins(
this.setZoomLevel(1);
if (window.featureFlag && !window.featureFlag.isEnabled('show-welcome-note')) return;
if (window.posthog && !window.featureFlag.isEnabled('show-welcome-note')) return;
setTimeout(() => {
this.$store.commit('setNodeViewOffsetPosition', {newOffset: [0, 0]});