summaryrefslogtreecommitdiff
path: root/app/assets/javascripts/repo/components/new_dropdown/index.vue
diff options
context:
space:
mode:
Diffstat (limited to 'app/assets/javascripts/repo/components/new_dropdown/index.vue')
-rw-r--r--app/assets/javascripts/repo/components/new_dropdown/index.vue7
1 files changed, 0 insertions, 7 deletions
diff --git a/app/assets/javascripts/repo/components/new_dropdown/index.vue b/app/assets/javascripts/repo/components/new_dropdown/index.vue
index 96b2087e1b9..53baa02c344 100644
--- a/app/assets/javascripts/repo/components/new_dropdown/index.vue
+++ b/app/assets/javascripts/repo/components/new_dropdown/index.vue
@@ -1,5 +1,4 @@
<script>
- import { mapState } from 'vuex';
import newModal from './modal.vue';
export default {
@@ -12,11 +11,6 @@
modalType: '',
};
},
- computed: {
- ...mapState({
- currentPath: 'path',
- }),
- },
methods: {
createNewItem(type) {
this.modalType = type;
@@ -70,7 +64,6 @@
<new-modal
v-if="openModal"
:type="modalType"
- :current-path="currentPath"
@toggle="toggleModalOpen"
/>
</div>