Commit 34eaf73b authored by Filipa Lacerda's avatar Filipa Lacerda

Merge branch '4378-fix-cluster-js-not-running-on-update-page' into 'master'

Fix JS bundle not running on the Cluster update/destroy pages

Closes #4378

See merge request gitlab-org/gitlab-ee!4112
parents 33a72038 02659069
......@@ -622,6 +622,8 @@ import initLDAPGroupsSelect from 'ee/ldap_groups_select'; // eslint-disable-line
.catch(fail);
break;
case 'projects:clusters:show':
case 'projects:clusters:update':
case 'projects:clusters:destroy':
import(/* webpackChunkName: "clusters" */ './clusters/clusters_bundle')
.then(cluster => new cluster.default()) // eslint-disable-line new-cap
.catch((err) => {
......
---
title: Fix JavaScript bundle running on Cluster update/destroy pages
merge_request: 4112
author:
type: fixed
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