diff options
author | Winnie Hellmann <winnie@gitlab.com> | 2018-07-04 23:49:03 +0300 |
---|---|---|
committer | Winnie Hellmann <winnie@gitlab.com> | 2018-07-04 23:49:03 +0300 |
commit | efa54a7baddcca32951451f06e7b85ae89017946 (patch) | |
tree | 23273a8e20548c654f7a46a51101bf0712080049 /app/assets/javascripts/pages/projects/index.js | |
parent | 116955c4533497e68abbddbace2eae0a07c98569 (diff) |
Fix ESLint for app/assets/javascripts/pages/projects/index.js
Diffstat (limited to 'app/assets/javascripts/pages/projects/index.js')
-rw-r--r-- | app/assets/javascripts/pages/projects/index.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/assets/javascripts/pages/projects/index.js b/app/assets/javascripts/pages/projects/index.js index 0658ae8ec23..cc0e6553e83 100644 --- a/app/assets/javascripts/pages/projects/index.js +++ b/app/assets/javascripts/pages/projects/index.js @@ -4,7 +4,7 @@ import Project from './project'; import ShortcutsNavigation from '../../shortcuts_navigation'; document.addEventListener('DOMContentLoaded', () => { - const page = document.body.dataset.page; + const { page } = document.body.dataset; const newClusterViews = [ 'projects:clusters:new', 'projects:clusters:create_gcp', |