We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 2b10502 + 4ec424f commit 4cf578dCopy full SHA for 4cf578d
email_mailbox/src/utils/electronEventInterface.js
@@ -221,8 +221,8 @@ const parseAndDispatchEvent = async event => {
221
threadIds,
222
labels,
223
badgeLabelIds,
224
- removedLabels: [removedLabel],
225
- updatedLabels: [updatedLabel]
+ removedLabels: removedLabel ? [removedLabel] : null,
+ updatedLabels: updatedLabel ? [updatedLabel] : null
226
});
227
} catch (error) {
228
// eslint-disable-next-line no-console
0 commit comments