From e4c0680578df61ff2b71deaec8a8b1baa1cbaf0c Mon Sep 17 00:00:00 2001 From: Philip Norman Date: Thu, 11 Feb 2016 11:59:34 +0100 Subject: [PATCH] Get app config from modal state, not form store Fixes mesosphere/marathon#3215 --- src/js/components/modals/AppModalComponent.jsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/js/components/modals/AppModalComponent.jsx b/src/js/components/modals/AppModalComponent.jsx index d9cc0c028..37cfaa1b1 100644 --- a/src/js/components/modals/AppModalComponent.jsx +++ b/src/js/components/modals/AppModalComponent.jsx @@ -97,7 +97,7 @@ var AppModalComponent = React.createClass({ event.preventDefault(); if (this.state.appIsValid) { - const app = AppFormStore.app; + const app = this.state.app; if (this.props.app != null) { AppsActions.applySettingsOnApp(app.id, app, true, this.state.force);