From 35494e975d011964ef59a4c6a582ad619d57ae23 Mon Sep 17 00:00:00 2001 From: cp2004 <31997505+cp2004@users.noreply.github.com> Date: Mon, 4 Jan 2021 18:59:50 +0000 Subject: [PATCH] :lipstick: Set default state on announcments icon Created an annoying pop-in on page load, by setting default states it only changes occasionally when there is a new post. --- src/octoprint/plugins/announcements/static/js/announcements.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/octoprint/plugins/announcements/static/js/announcements.js b/src/octoprint/plugins/announcements/static/js/announcements.js index 2e015853f..75720f39a 100644 --- a/src/octoprint/plugins/announcements/static/js/announcements.js +++ b/src/octoprint/plugins/announcements/static/js/announcements.js @@ -31,7 +31,7 @@ $(function () { 5 ); - self.unread = ko.observable(); + self.unread = ko.observable(false); self.hiddenChannels = []; self.channelNotifications = {};