mirror of
https://github.com/MichMich/MagicMirror.git
synced 2025-06-27 19:53:36 +00:00
linted
This commit is contained in:
parent
4fe974e7a8
commit
8fa2256fb0
@ -122,8 +122,9 @@ Module.register("calendar", {
|
|||||||
|
|
||||||
// Override socket notification handler.
|
// Override socket notification handler.
|
||||||
socketNotificationReceived: function (notification, payload) {
|
socketNotificationReceived: function (notification, payload) {
|
||||||
if (this.identifier !== payload.id)
|
if (this.identifier !== payload.id) {
|
||||||
{return;}
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
if (notification === "CALENDAR_EVENTS") {
|
if (notification === "CALENDAR_EVENTS") {
|
||||||
if (this.hasCalendarURL(payload.url)) {
|
if (this.hasCalendarURL(payload.url)) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user