Browse Source

Remove unnecessary code

pull/1224/head
Hironsan 3 years ago
parent
commit
a62d30476c
1 changed files with 1 additions and 9 deletions
  1. 10
      frontend/layouts/project.vue

10
frontend/layouts/project.vue

@ -36,7 +36,7 @@
</template> </template>
<script> <script>
import { mapActions, mapGetters } from 'vuex'
import { mapGetters } from 'vuex'
import TheSideBar from '~/components/organisms/layout/TheSideBar' import TheSideBar from '~/components/organisms/layout/TheSideBar'
import TheHeader from '~/components/organisms/layout/TheHeader' import TheHeader from '~/components/organisms/layout/TheHeader'
@ -56,14 +56,6 @@ export default {
computed: { computed: {
...mapGetters('projects', ['getLink', 'getCurrentUserRole']) ...mapGetters('projects', ['getLink', 'getCurrentUserRole'])
},
created() {
this.setCurrentProject(this.$route.params.id)
},
methods: {
...mapActions('projects', ['setCurrentProject'])
} }
} }
</script> </script>
Loading…
Cancel
Save