Commit 5a04be1f authored by Nicolò Maria Mezzopera's avatar Nicolò Maria Mezzopera

Merge branch 'euko-fix-boards-getter-name' into 'master'

Rename getActiveIssue to activeIssue

See merge request gitlab-org/gitlab!47194
parents ef62291f 39b67a82
......@@ -316,14 +316,14 @@ export default {
.mutate({
mutation: updateAssignees,
variables: {
iid: getters.getActiveIssue.iid,
projectPath: getters.getActiveIssue.referencePath.split('#')[0],
iid: getters.activeIssue.iid,
projectPath: getters.activeIssue.referencePath.split('#')[0],
assigneeUsernames,
},
})
.then(({ data }) => {
commit('UPDATE_ISSUE_BY_ID', {
issueId: getters.getActiveIssue.id,
issueId: getters.activeIssue.id,
prop: 'assignees',
value: data.issueSetAssignees.issue.assignees.nodes,
});
......
......@@ -646,7 +646,7 @@ describe('setAssignees', () => {
it('calls mutate with the correct values', async () => {
await actions.setAssignees(
{ commit: () => {}, getters: { getActiveIssue: { iid, referencePath: refPath } } },
{ commit: () => {}, getters: { activeIssue: { iid, referencePath: refPath } } },
[name],
);
......@@ -660,7 +660,7 @@ describe('setAssignees', () => {
testAction(
actions.setAssignees,
{},
{ getActiveIssue: { iid, referencePath: refPath }, commit: () => {} },
{ activeIssue: { iid, referencePath: refPath }, commit: () => {} },
[
{
type: 'UPDATE_ISSUE_BY_ID',
......
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