spelling: calculate
Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>
This commit is contained in:
parent
434a539b29
commit
3ce67ac9ad
|
@ -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
|
||||
|
||||
|
||||
|
|
|
@ -76,7 +76,7 @@ const actions: ActionTree<ListMembershipState, RootState> = {
|
|||
return res.data
|
||||
},
|
||||
[ACTION_TYPES.CHANGE_BELONG_TO_LISTS]: async ({ rootState, dispatch, state }, belongToLists: Array<string>) => {
|
||||
// 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(
|
||||
|
|
Loading…
Reference in New Issue