Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Redesign header area #514

Closed
wants to merge 7 commits into from
Closed
Show file tree
Hide file tree
Changes from 2 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 6 additions & 1 deletion src/app.vue
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
<template>
<div id="app" class="storyramp-app bg-white">
<div
id="app"
class="storyramp-app bg-white"
>
<router-view :key="$route.path"></router-view>
</div>
</template>
Expand All @@ -11,6 +14,8 @@ import { useUserStore } from './stores/userStore';
import { useLockStore } from './stores/lockStore';

export default class App extends Vue {
currentPath = window.location.href;

@Watch('$route', { immediate: true })
onRouteUpdate(to: RouteLocationNormalized): void {
this.$i18n.locale = (to.params.lang as string) ?? 'en';
Expand Down
Loading
Loading