From 7a33ad06fb931f13bd7c0b33254f1b26e339a257 Mon Sep 17 00:00:00 2001 From: Sonia Zorba Date: Mon, 18 Jan 2021 14:57:45 +0100 Subject: [PATCH] Fixed CI and minor change --- .gitlab-ci.yml | 4 ++++ .../src/components/modal/CreateFolderModal.vue | 3 +-- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index cb647ba..e3babaa 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -2,6 +2,10 @@ stages: - test - dockerize +variables: + # to avoid "fatal: git fetch-pack: expected shallow list" + GIT_STRATEGY: clone + test_backend: stage: test tags: diff --git a/vospace-ui-frontend/src/components/modal/CreateFolderModal.vue b/vospace-ui-frontend/src/components/modal/CreateFolderModal.vue index a3ff578..3184b9b 100644 --- a/vospace-ui-frontend/src/components/modal/CreateFolderModal.vue +++ b/vospace-ui-frontend/src/components/modal/CreateFolderModal.vue @@ -42,8 +42,7 @@ export default { this.newFolderNameError = "Folder name is required"; } else { this.$store.dispatch('createFolder', this.newFolderName) - .then(() => { //res - //this.$store.commit('updateGroupsPanel', res); + .then(() => { this.$bvModal.hide('create-folder-modal'); }) .catch(res => { -- GitLab