Skip to content

Commit

Permalink
Fixing store modules
Browse files Browse the repository at this point in the history
  • Loading branch information
ngeorgomanolis committed Sep 10, 2020
1 parent 80a24c4 commit 68c1535
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 4 deletions.
1 change: 0 additions & 1 deletion src/api/project.js
Original file line number Diff line number Diff line change
Expand Up @@ -205,7 +205,6 @@ export default {
}
})
},
},

setPrivateProjectOptions(projectShortName){
return axios.get(process.env.BASE_ENDPOINT_URL + 'project/' + projectShortName + '/password', {
Expand Down
4 changes: 1 addition & 3 deletions src/store/modules/project.js
Original file line number Diff line number Diff line change
Expand Up @@ -624,7 +624,6 @@ const actions = {
}, { root: true })
})
},
},

setPrivateProjectOptions ({ commit }, short_name) {
return api.setPrivateProjectOptions(short_name).then(value => {
Expand Down Expand Up @@ -665,7 +664,7 @@ const actions = {
}, { root: true })
})
return false
}
},

deleteCommentsOptions ({ commit }, comment_id) {
return api.deleteCommentsOptions(comment_id).then(value => {
Expand Down Expand Up @@ -824,7 +823,6 @@ const mutations = {
deleteCommentsOptions (state, options) {
state.deleteCommentsOptions = options
},
},
setPrivateProjectOptions(state,status){
state.privateProjectOptions = status
},
Expand Down

0 comments on commit 68c1535

Please sign in to comment.