diff --git a/apps/configurator/src/app/components/footer/footer.component.html b/apps/configurator/src/app/components/footer/footer.component.html index dea03f6..4c6ea23 100644 --- a/apps/configurator/src/app/components/footer/footer.component.html +++ b/apps/configurator/src/app/components/footer/footer.component.html @@ -40,7 +40,6 @@ i18n-matTooltip matTooltip="Edit code online and upload" >edit - diff --git a/apps/configurator/src/app/components/footer/footer.component.ts b/apps/configurator/src/app/components/footer/footer.component.ts index f736bb7..c2b8939 100644 --- a/apps/configurator/src/app/components/footer/footer.component.ts +++ b/apps/configurator/src/app/components/footer/footer.component.ts @@ -128,6 +128,10 @@ ${ localStorage.setItem('zunoCode', code); location.href = '/editor/'; } + + public get url(): string { + return window.location.href; + } } function makeLinear(linear: LinearValues | null): string {