File tree Expand file tree Collapse file tree 1 file changed +6
-1
lines changed
octoprint_mrbeam/static/js Expand file tree Collapse file tree 1 file changed +6
-1
lines changed Original file line number Diff line number Diff line change @@ -241,7 +241,12 @@ $(function () {
241241 var lmid = - 1 ;
242242 self . messages ( ) . forEach ( function ( myMessage ) {
243243 lmid = Math . max ( lmid , myMessage . id ) ;
244- if ( myMessage . notification && myMessage . id > self . lastMessageId ) {
244+ if ( myMessage . notification && ( myMessage . id > self . lastMessageId
245+ // The below condition is only added to keep the 0.11.0 2-step update message notification showing
246+ // if the user stayed on the 0.11.0rc1 version and didn't execute the 2nd software update
247+ // Message ID '3' should always be assigned to this specific 2-step update message
248+ // TODO: SW-1845: Should be removed after 0.11.0 stable release
249+ || ( myMessage . id === 3 && MRBEAM_PLUGIN_VERSION === "0.11.0rc1" ) ) ) {
245250 try {
246251 new PNotify ( {
247252 title : myMessage . notification . title || '' ,
You can’t perform that action at this time.
0 commit comments