Skip to content

Instantly share code, notes, and snippets.

@onefriendaday
Last active June 4, 2020 15:41
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save onefriendaday/ae15c1507fe4f2402a3abbebf2a348b7 to your computer and use it in GitHub Desktop.
Save onefriendaday/ae15c1507fe4f2402a3abbebf2a348b7 to your computer and use it in GitHub Desktop.
...
init(): void {
if (!this.client) {
this.initClient();
}
this.initTranslationsFetching();
this.listenToRouteChange();
if (window.location != window.parent.location) {
this.loadStoryblok()
}
this.isInEditor.next(false);
this.forceFetch.next();
}
...
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment