Skip to content
This repository has been archived by the owner on Mar 10, 2023. It is now read-only.

Commit

Permalink
Merge pull request #23 from ScilifelabDataCentre/develop
Browse files Browse the repository at this point in the history
Minor bugfixes for 0.3.1
  • Loading branch information
talavis authored Jun 15, 2020
2 parents bdcb42f + a57d36f commit 2e631f4
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 7 deletions.
2 changes: 1 addition & 1 deletion frontend/src/store/modules/project/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ const actions = {
return new Promise((resolve, reject) => {
let projectUuid = payload.id;
delete payload.id
if (projectUuid === -1) {
if (projectUuid === '-1') {
axios
.post('/api/project/',
payload,
Expand Down
7 changes: 1 addition & 6 deletions frontend/src/views/datasets/DatasetEdit.vue
Original file line number Diff line number Diff line change
Expand Up @@ -206,12 +206,7 @@ export default {
cancelChanges(event) {
event.preventDefault();
if (this.newDataset.id === '') {
this.$router.push("/dataset/browser");
}
else {
this.$router.push("/dataset/" + this.newDataset.id + "/about");
}
this.$router.push("/dataset/" + this.newDataset.id + "/about");
},
deleteDataset(event) {
Expand Down

0 comments on commit 2e631f4

Please sign in to comment.