diff options
author | Filipa Lacerda <filipa@gitlab.com> | 2017-10-02 22:49:04 +0300 |
---|---|---|
committer | Filipa Lacerda <filipa@gitlab.com> | 2017-10-02 22:49:17 +0300 |
commit | fd6776214abb2603ce2fb5dfb078229f0a0195e5 (patch) | |
tree | 00566dca0109fa4c1b1575bec80ba1d489c39954 /app/assets/javascripts/dispatcher.js | |
parent | fd44ac2b14baeafb1a9ea5c761671213dc4cf613 (diff) |
Adds toggle button
Adds polling function
Diffstat (limited to 'app/assets/javascripts/dispatcher.js')
-rw-r--r-- | app/assets/javascripts/dispatcher.js | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/app/assets/javascripts/dispatcher.js b/app/assets/javascripts/dispatcher.js index 31214818496..7131889a0a0 100644 --- a/app/assets/javascripts/dispatcher.js +++ b/app/assets/javascripts/dispatcher.js @@ -524,6 +524,11 @@ import { ajaxGet, convertPermissionToBoolean } from './lib/utils/common_utils'; case 'admin:impersonation_tokens:index': new gl.DueDateSelectors(); break; + case 'projects:clusters:edit': + import(/* webpackChunkName: "clusters" */ './clusters') + .then(cluster => new cluster.default()) // eslint-disable-line new-cap + .catch(() => {}); + break; } switch (path[0]) { case 'sessions': |