Skip to content

Commit e7c1bbd

Browse files
committed
chore: alert if finished update was auto
1 parent 3b4c6ad commit e7c1bbd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/hooks/updates.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -155,7 +155,7 @@ async function check(auto = true) {
155155

156156
function finish() {
157157
toast?.close();
158-
eventManager.emit(':update:finished');
158+
eventManager.emit(':update:finished', auto);
159159
}
160160

161161
const updateFound = [...pendingUpdates.values()].find(({ announce = true }) => announce);

0 commit comments

Comments
 (0)