mirror of
https://github.com/the-djmaze/snappymail.git
synced 2026-08-29 12:09:20 +03:00
Almost all JSON properties to JavaScript camelCase
This commit is contained in:
parent
7a53cae32f
commit
f080a302b1
50 changed files with 501 additions and 562 deletions
|
|
@ -11,7 +11,7 @@ const HTML5Notification = window.Notification,
|
|||
NotificationsGranted = () => 'granted' === HTML5NotificationStatus(),
|
||||
dispatchMessage = data => {
|
||||
focus();
|
||||
if (data.Folder && data.Uid) {
|
||||
if (data.folder && data.uid) {
|
||||
fireEvent('mailbox.message.show', data);
|
||||
} else if (data.Url) {
|
||||
hasher.setHash(data.Url);
|
||||
|
|
@ -60,8 +60,8 @@ export const NotificationUserStore = new class {
|
|||
icon: imageSrc || Links.staticLink('css/images/icon-message-notification.png'),
|
||||
data: messageData
|
||||
};
|
||||
if (messageData?.Uid) {
|
||||
options.tag = messageData.Uid;
|
||||
if (messageData?.uid) {
|
||||
options.tag = messageData.uid;
|
||||
}
|
||||
if (WorkerNotifications) {
|
||||
// Service-Worker-Allowed HTTP header to allow the scope.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue