Created
August 31, 2020 00:53
-
-
Save iaindooley/472c28201878d402e902e8bedaec75d3 to your computer and use it in GitHub Desktop.
Remove all attachments when archived
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
function removeAllAttachmentsWhenArchived(notification) | |
{ | |
new Notification(notification).archivedCard().removeAllAttachments(); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment