Skip to content

Commit

Permalink
Pre-fill group name in app creation modal
Browse files Browse the repository at this point in the history
  • Loading branch information
philipnrmn committed Feb 12, 2016
1 parent f2e5086 commit 5558a7b
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
1 change: 1 addition & 0 deletions CHANGELOG.md
Expand Up @@ -20,6 +20,7 @@
- \#3164 - Show server-side validation errors for invalid object
- \#3214 - App creation modal ports field default value does not reflect
service default value
- \#3218 - Regression: group name no longer pre-filled in app modal

## 0.15.3 - 2016-02-03
### Fixed
Expand Down
5 changes: 4 additions & 1 deletion src/js/components/Marathon.jsx
Expand Up @@ -61,7 +61,10 @@ var Marathon = React.createClass({
var modal = null;

if (modalQuery === "new-app") {
modal = this.getNewAppModal(query.groupId);
let groupId = params.groupId != null
? decodeURIComponent(params.groupId)
: null;
modal = this.getNewAppModal(groupId);
} else if (modalQuery === "about") {
modal = this.getAboutModal();
} else if (modalQuery === "help") {
Expand Down

0 comments on commit 5558a7b

Please sign in to comment.