Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'app/assets/javascripts/environments/stores/environments_store.js')
-rw-r--r--app/assets/javascripts/environments/stores/environments_store.js25
1 files changed, 0 insertions, 25 deletions
diff --git a/app/assets/javascripts/environments/stores/environments_store.js b/app/assets/javascripts/environments/stores/environments_store.js
index 5fb420e9da5..ac9a31c202c 100644
--- a/app/assets/javascripts/environments/stores/environments_store.js
+++ b/app/assets/javascripts/environments/stores/environments_store.js
@@ -1,6 +1,4 @@
import { parseIntPagination, normalizeHeaders } from '~/lib/utils/common_utils';
-import { setDeployBoard } from 'ee_else_ce/environments/stores/helpers';
-
/**
* Environments Store.
*
@@ -33,14 +31,6 @@ export default class EnvironmentsStore {
* If the `size` is bigger than 1, it means it should be rendered as a folder.
* In those cases we add `isFolder` key in order to render it properly.
*
- * Top level environments - when the size is 1 - with `rollout_status`
- * can render a deploy board. We add `isDeployBoardVisible` and `deployBoardData`
- * keys to those environments.
- * The first key will let's us know if we should or not render the deploy board.
- * It will be toggled when the user clicks to seee the deploy board.
- *
- * The second key will allow us to update the environment with the received deploy board data.
- *
* @param {Array} environments
* @returns {Array}
*/
@@ -73,7 +63,6 @@ export default class EnvironmentsStore {
filtered = Object.assign(filtered, env);
}
- filtered = setDeployBoard(oldEnvironmentState, filtered);
return filtered;
});
@@ -82,20 +71,6 @@ export default class EnvironmentsStore {
return filteredEnvironments;
}
- /**
- * Stores the pagination information needed to render the pagination for the
- * table.
- *
- * Normalizes the headers to uppercase since they can be provided either
- * in uppercase or lowercase.
- *
- * Parses to an integer the normalized ones needed for the pagination component.
- *
- * Stores the normalized and parsed information.
- *
- * @param {Object} pagination = {}
- * @return {Object}
- */
setPagination(pagination = {}) {
const normalizedHeaders = normalizeHeaders(pagination);
const paginationInformation = parseIntPagination(normalizedHeaders);