fix: display newsletter progress in client

This commit is contained in:
Julian Krauser 2025-01-12 13:25:55 +01:00
parent 52a35be6c5
commit a8e2b05d8e
6 changed files with 72 additions and 40 deletions

View file

@ -113,10 +113,10 @@ export default defineComponent({
},
methods: {
...mapActions(useNotificationStore, ["revoke"]),
close(id: number) {
close(id: string) {
this.revoke(id);
},
hovering(id: number, value: boolean, timeout?: number) {
hovering(id: string, value: boolean, timeout?: number) {
if (value) {
clearTimeout(this.timeouts[id]);
} else {