-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- search functionality communicates with back-end - transitions and loading icon between ads rendering - express favor functionality communicates with back-end - start session on connection. This is importent in order to set authentication-required features (for example, setting fields in the http header). issues: #298 #299
- Loading branch information
Showing
15 changed files
with
334 additions
and
477 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,34 +1,46 @@ | ||
<template> | ||
<v-app> | ||
<app-toolbar/> | ||
<v-content> | ||
<!-- <v-container fluid> --> | ||
<v-app> | ||
<app-toolbar/> | ||
<v-content> | ||
<!-- <v-container fluid> --> | ||
<app-loader :loading="getLoadingStatus" /> | ||
<router-view/> | ||
<app-snackbar :text="getSnackbarText" /> | ||
<!-- </v-container> --> | ||
</v-content> | ||
<app-footer/> | ||
</v-app> | ||
<!-- </v-container> --> | ||
</v-content> | ||
<app-footer/> | ||
</v-app> | ||
</template> | ||
|
||
<script> | ||
import { mapGetters } from 'vuex'; | ||
import AppToolbar from './components/AppToolbar'; | ||
import AppLoader from './components/AppLoader'; | ||
import AppSnackbar from './components/AppSnackbar'; | ||
import AppFooter from './components/AppFooter'; | ||
import { mapGetters, mapMutations } from 'vuex'; | ||
import AppToolbar from './components/AppToolbar'; | ||
import AppLoader from './components/AppLoader'; | ||
import AppSnackbar from './components/AppSnackbar'; | ||
import AppFooter from './components/AppFooter'; | ||
export default { | ||
computed: { | ||
...mapGetters(['getLoadingStatus', 'getSnackbarText']) | ||
}, | ||
components: { | ||
AppToolbar, | ||
AppLoader, | ||
AppSnackbar, | ||
AppFooter, | ||
}, | ||
name: 'App', | ||
}; | ||
export default { | ||
computed: { | ||
...mapGetters(['getLoadingStatus', 'getSnackbarText', 'isAuthenticated']) | ||
}, | ||
components: { | ||
AppToolbar, | ||
AppLoader, | ||
AppSnackbar, | ||
AppFooter | ||
}, | ||
name: 'App', | ||
methods: { | ||
...mapMutations(['toggleDrawer', 'startSession']), | ||
loadInitialState() { | ||
// this.toggleDrawer(this.$vuetify.breakpoint.mdAndUp); | ||
if (this.isAuthenticated) { | ||
this.startSession(); | ||
} | ||
} | ||
}, | ||
created() { | ||
this.loadInitialState(); | ||
} | ||
}; | ||
</script> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.