Skip to content
This repository has been archived by the owner on Feb 23, 2022. It is now read-only.

Commit

Permalink
Merge pull request #81 from multinet-app/fix-missing-property
Browse files Browse the repository at this point in the history
Add missing `newWorkspace` property
  • Loading branch information
waxlamp committed Jul 15, 2019
2 parents 6110a3f + 195dd00 commit fd343c2
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion client/src/components/WorkspaceDialog.vue
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,8 @@ import api from '@/api'
export default {
data () {
return {
dialog: false
dialog: false,
newWorkspace: '',
}
},
methods: {
Expand All @@ -71,6 +72,7 @@ export default {
if (response.data.data) {
this.$router.push(`/workspaces/${this.newWorkspace}`);
this.$emit('created', this.newWorkspace);
this.newWorkspace = '';
this.dialog = false;
}
}
Expand Down

0 comments on commit fd343c2

Please sign in to comment.