mirror of
https://github.com/multipleof4/ntfy.git
synced 2026-10-15 16:07:55 +00:00
Fix service worker handling for updating/deleting
This commit is contained in:
@@ -103,13 +103,6 @@ export const maybeActionErrors = (notification) => {
|
||||
return actionErrors;
|
||||
};
|
||||
|
||||
export const messageWithSequenceId = (message) => {
|
||||
if (message.sequenceId) {
|
||||
return message;
|
||||
}
|
||||
return { ...message, sequenceId: message.sequence_id || message.id };
|
||||
};
|
||||
|
||||
export const shuffle = (arr) => {
|
||||
const returnArr = [...arr];
|
||||
|
||||
|
||||
Reference in New Issue
Block a user