diff --git a/CHANGELOG.md b/CHANGELOG.md index 4fa056c3..7e527df4 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -348,7 +348,7 @@ ### Fixed - [#1651](https://github.com/h3poteto/whalebird-desktop/pull/1651) closes #1647 Adjust status height when attachments are dropped -- [#1650](https://github.com/h3poteto/whalebird-desktop/pull/1650) closes #1642 Fix calcurate diff in change list memberships +- [#1650](https://github.com/h3poteto/whalebird-desktop/pull/1650) closes #1642 Fix calculate diff in change list memberships - [#1622](https://github.com/h3poteto/whalebird-desktop/pull/1622) Use target instead of linter.eslint.dir in sideci.yml diff --git a/src/renderer/store/TimelineSpace/Modals/ListMembership.ts b/src/renderer/store/TimelineSpace/Modals/ListMembership.ts index d3a215e3..99349c86 100644 --- a/src/renderer/store/TimelineSpace/Modals/ListMembership.ts +++ b/src/renderer/store/TimelineSpace/Modals/ListMembership.ts @@ -76,7 +76,7 @@ const actions: ActionTree = { return res.data }, [ACTION_TYPES.CHANGE_BELONG_TO_LISTS]: async ({ rootState, dispatch, state }, belongToLists: Array) => { - // Calcurate diff + // Calculate diff const removedLists = state.belongToLists.map(l => l.id).filter(i => belongToLists.indexOf(i) === -1) const addedLists = belongToLists.filter(i => state.belongToLists.map(l => l.id).indexOf(i) === -1) const client = generator(