diff options
author | Filipa Lacerda <filipa@gitlab.com> | 2016-12-09 14:37:41 +0000 |
---|---|---|
committer | Filipa Lacerda <filipa@gitlab.com> | 2016-12-12 12:44:45 +0000 |
commit | 7c9a85e35386623bc26374e4eb9b4a53e4fbbce7 (patch) | |
tree | 9c81d525aa5a821fbb46e307cc3649d8766ede6b | |
parent | 0f6964a38527e648551e981157d5489d4c301b76 (diff) | |
download | gitlab-ce-7c9a85e35386623bc26374e4eb9b4a53e4fbbce7.tar.gz |
Fix TypeError: Cannot read property 'initTabs'
-rw-r--r-- | app/assets/javascripts/pipelines.js.es6 | 2 | ||||
-rw-r--r-- | changelogs/unreleased/25483-broken-tabs.yml | 4 |
2 files changed, 5 insertions, 1 deletions
diff --git a/app/assets/javascripts/pipelines.js.es6 b/app/assets/javascripts/pipelines.js.es6 index 72c6c4a1fcd..a7a384fd856 100644 --- a/app/assets/javascripts/pipelines.js.es6 +++ b/app/assets/javascripts/pipelines.js.es6 @@ -4,7 +4,7 @@ ((global) => { class Pipelines { - constructor(options) { + constructor(options = {}) { if (options.initTabs && options.tabsOptions) { new global.LinkedTabs(options.tabsOptions); diff --git a/changelogs/unreleased/25483-broken-tabs.yml b/changelogs/unreleased/25483-broken-tabs.yml new file mode 100644 index 00000000000..7bc50bdf860 --- /dev/null +++ b/changelogs/unreleased/25483-broken-tabs.yml @@ -0,0 +1,4 @@ +--- +title: Fix TypeError: Cannot read property 'initTabs' on commit builds tab +merge_request: +author: |