gitlab-org--gitlab-foss/app/assets/javascripts/projects/commit_box/info/index.js

17 lines
537 B
JavaScript

import { fetchCommitMergeRequests } from '~/commit_merge_requests';
import { initCommitPipelineMiniGraph } from './init_commit_pipeline_mini_graph';
import { initDetailsButton } from './init_details_button';
import { loadBranches } from './load_branches';
export const initCommitBoxInfo = () => {
// Display commit related branches
loadBranches();
// Related merge requests to this commit
fetchCommitMergeRequests();
// Display pipeline mini graph for this commit
initCommitPipelineMiniGraph();
initDetailsButton();
};