Commit 6ee52539 authored by Sarah GP's avatar Sarah GP

Pass dataset to tab function

parent b730fd06
......@@ -93,7 +93,7 @@ const createPipelineHeaderApp = (mediator) => {
});
}
const createPipelinesTabs = () => {
const createPipelinesTabs = (dataset) => {
const tabsElement = document.querySelector('.pipelines-tabs');
const testReportsEnabled =
window.gon && window.gon.features && window.gon.features.junitPipelineView;
......@@ -153,6 +153,6 @@ export default () => {
createPipelinesDetailApp(mediator);
createPipelineHeaderApp(mediator);
createPipelinesTabs();
createPipelinesTabs(dataset);
createTestDetails(dataset.testReportsCountEndpoint);
};
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