Skip to content

Commit

Permalink
Fix persistent volume app scale down warning
Browse files Browse the repository at this point in the history
App ids tend to be rather log, as they include the full group path. Thus
they should not be used in dialog titles and any other place that has
limited space. Adjust the persistent volume app scale down warning as
the dialog title should not include the app id, for the given reason.
  • Loading branch information
Orlando Hohmeier committed Mar 11, 2016
1 parent 198c638 commit f1e4e0c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/js/mixins/AppActionsHandlerMixin.jsx
Expand Up @@ -217,7 +217,7 @@ var AppActionsHandlerMixin = {
actionButtonLabel: "Continue Scaling",
message: (
<div>
<div>Scaling down will cause any existing local volumes to
<div>Scaling down ${appId} will cause any existing local volumes to
be detached from destroyed instances. <a href="about:blank"
target="_blank"
className="modal-body-link">
Expand All @@ -230,7 +230,7 @@ var AppActionsHandlerMixin = {
</div>
),
severity: DialogSeverity.WARNING,
title: `Caution: ${appId} is a stateful application`
title: "Scale Stateful Application"
});

DialogStore.handleUserResponse(dialogId, () => {
Expand Down

0 comments on commit f1e4e0c

Please sign in to comment.