We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c0c7842 commit 99a3df2Copy full SHA for 99a3df2
src/hooks/updates.js
@@ -133,10 +133,16 @@ async function check(auto = true) {
133
autoTimeout = 0;
134
}
135
136
+ const previousState = !pendingUpdates.size;
137
+
138
if (!disabled.value()) {
139
await eventManager.async.emit(':update', auto);
140
141
142
+ if (!pendingUpdates.size !== previousState) {
143
+ menu.dirty();
144
+ }
145
146
function finish() {
147
toast?.close();
148
eventManager.emit(':update:finished');
0 commit comments