Skip to content
This repository has been archived by the owner on May 26, 2021. It is now read-only.

Commit

Permalink
Merge pull request #47 from wilcorrea-forks/master
Browse files Browse the repository at this point in the history
[#4/feature] Use query string to open studio
  • Loading branch information
wilcorrea authored Mar 30, 2019
2 parents d389525 + c20dcfd commit 6eedefc
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions src/modules/Dashboard/Components/DashboardLayout.vue
Original file line number Diff line number Diff line change
Expand Up @@ -218,9 +218,23 @@ export default {
this.$browse(fallback)
}
},
/**
*/
watch: {
/**
*/
'$route.query.studio': {
imediate: true,
handler () {
this.studio = !!this.$route.query.studio
}
}
},
/**
*/
created () {
this.studio = !!this.$route.query.studio

this.debugging = this.$store.getters['app/getDebuggers']
this.$watch('debugging', (debugging) => {
this.$store.dispatch('app/setDebuggers', debugging)
Expand Down

0 comments on commit 6eedefc

Please sign in to comment.