From 3ce67ac9ad675c0e11a4a0ac7a8381a4fb118806 Mon Sep 17 00:00:00 2001 From: Josh Soref <2119212+jsoref@users.noreply.github.com> Date: Mon, 26 Dec 2022 17:36:02 -0500 Subject: [PATCH] spelling: calculate Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com> --- CHANGELOG.md | 2 +- src/renderer/store/TimelineSpace/Modals/ListMembership.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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(