Skip to content

Commit

Permalink
fix(titus): fix resize from Server Group Actions menu (#7201)
Browse files Browse the repository at this point in the history
  • Loading branch information
anotherchrisberry committed Jul 9, 2019
1 parent 6dd149b commit 1b1ff2c
Showing 1 changed file with 7 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
'use strict';

import { TitusResizeServerGroupModal } from './resize/TitusResizeServerGroupModal';

const angular = require('angular');
import _ from 'lodash';

Expand All @@ -11,6 +13,7 @@ import {
ServerGroupWarningMessageService,
SERVER_GROUP_WRITER,
SETTINGS,
ReactModal,
} from '@spinnaker/core';

import { TitusReactInjector } from 'titus/reactShims';
Expand Down Expand Up @@ -310,6 +313,10 @@ module.exports = angular
});
};

this.resizeServerGroup = () => {
ReactModal.show(TitusResizeServerGroupModal, { serverGroup: $scope.serverGroup, application });
};

this.showEnableServerGroupModal = () => {
var serverGroup = $scope.serverGroup;

Expand Down

0 comments on commit 1b1ff2c

Please sign in to comment.