Commit af2a8cd2 authored by Filipa Lacerda's avatar Filipa Lacerda

Minor fixes after review

parent 617f00f8
......@@ -9,6 +9,7 @@
* [Mockup](https://gitlab.com/gitlab-org/gitlab-ce/uploads/2f655655c0eadf655d0ae7467b53002a/environments__deploy-graphic.png)
*/
import _ from 'underscore';
import { n__ } from '../../locale';
import deployBoardSvg from 'empty_states/icons/_deploy_board.svg';
import instanceComponent from './deploy_board_instance_component.vue';
import loadingIcon from '../../vue_shared/components/loading_icon.vue';
......@@ -40,7 +41,7 @@
return !this.isLoading && this.isEmpty;
},
instanceTitle() {
return gl.text.pluralize('Instance', this.deployBoardData.instances);
return n__('Instance', 'Instances', this.deployBoardData.instances);
},
projectName() {
return '<projectname>';
......
......@@ -69,8 +69,8 @@ export default class EnvironmentsStore {
filtered = Object.assign({}, filtered, {
hasDeployBoard: true,
isDeployBoardVisible: oldEnvironmentState.isDeployBoardVisible === false ?
oldEnvironmentState.isDeployBoardVisible :
true,
oldEnvironmentState.isDeployBoardVisible :
true,
deployBoardData: filtered.rollout_status.status === 'found' ? filtered.rollout_status : {},
isLoadingDeployBoard: filtered.rollout_status.status === 'loading',
isEmptyDeployBoard: filtered.rollout_status.status === 'not_found',
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment