Commit 8f50dc25 authored by Justin Ho's avatar Justin Ho

Remove actionConfig = null from createFlash

Already matches the default params
parent 4ad27855
......@@ -63,7 +63,6 @@ export default {
}),
type: 'alert',
parent: document,
actionConfig: null,
fadeTransition: false,
addBodyClass: true,
});
......
......@@ -254,7 +254,6 @@ export default {
message: __('Error setting up editor. Please try again.'),
type: 'alert',
parent: document,
actionConfig: null,
fadeTransition: false,
addBodyClass: true,
});
......
......@@ -115,7 +115,6 @@ export const createRouter = (store, defaultBranch) => {
message: __('Error while loading the project data. Please try again.'),
type: 'alert',
parent: document,
actionConfig: null,
fadeTransition: false,
addBodyClass: true,
});
......
......@@ -43,7 +43,6 @@ export const createTempEntry = (
type: 'alert',
parent: document,
actionConfig: null,
fadeTransition: false,
addBodyClass: true,
});
......@@ -289,7 +288,6 @@ export const getBranchData = ({ commit, state }, { projectId, branchId, force =
message: __('Error loading branch data. Please try again.'),
type: 'alert',
parent: document,
actionConfig: null,
fadeTransition: false,
addBodyClass: true,
});
......
......@@ -38,7 +38,6 @@ export const getMergeRequestsForBranch = (
message: __(`Error fetching merge requests for ${branchId}`),
type: 'alert',
parent: document,
actionConfig: null,
fadeTransition: false,
addBodyClass: true,
});
......
......@@ -23,7 +23,6 @@ export const getProjectData = ({ commit, state }, { namespace, projectId, force
message: __('Error loading project data. Please try again.'),
type: 'alert',
parent: document,
actionConfig: null,
fadeTransition: false,
addBodyClass: true,
});
......@@ -49,7 +48,6 @@ export const refreshLastCommitData = ({ commit }, { projectId, branchId } = {})
message: __('Error loading last commit.'),
type: 'alert',
parent: document,
actionConfig: null,
fadeTransition: false,
addBodyClass: true,
});
......
......@@ -147,7 +147,6 @@ export const commitChanges = ({ commit, state, getters, dispatch, rootState, roo
message: data.message,
type: 'alert',
parent: document,
actionConfig: null,
fadeTransition: false,
addBodyClass: true,
});
......
......@@ -186,7 +186,6 @@ describe('new file modal component', () => {
message: 'The name "test-path/test" is already taken in this directory.',
type: 'alert',
parent: expect.anything(),
actionConfig: null,
fadeTransition: false,
addBodyClass: true,
});
......
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