Fix timeline notice dismiss not updating the UI.

Include notice in the timeline view fingerprint so clearNotice triggers a re-render.
This commit is contained in:
digital-garbage
2026-06-11 14:21:52 +03:00
parent df4e7b4a9c
commit efb94a4154
2 changed files with 2 additions and 1 deletions
+1 -1
View File
@@ -1039,7 +1039,7 @@
const note = el("span", "tl-notice", st.notice);
const dismiss = el("button", "tl-notice-dismiss", "✕");
dismiss.title = "Dismiss";
dismiss.onclick = () => S.clearNotice();
dismiss.onclick = (e) => { e.stopPropagation(); S.clearNotice(); };
note.append(dismiss);
meta.append(note);
}
+1
View File
@@ -21,6 +21,7 @@
keepAud: p.keep_original_audio,
gen: st.gen?.state,
labels: (st.ratingLabels || []).length,
notice: st.notice || "",
});
}