[frontend/components] Add missing notification types

This commit is contained in:
pancakes 2024-11-23 11:58:26 +10:00 committed by Laura Hausmann
parent 7b71a14537
commit 7e4cf31ca1
No known key found for this signature in database
GPG key ID: D044E84C5BE01605

View file

@ -53,6 +53,15 @@
case { Type: "bite" }:
<span class="notification-text">@Loc["bit you"]</span>
break;
case { Type: "edit" }:
<span class="notification-text">@Loc["edited a note"]</span>
break;
case { Type: "pollVote" }:
<span class="notification-text">@Loc["voted on your poll"]</span>
break;
case { Type: "pollEnded" }:
<span class="notification-text">@Loc["poll has ended"]</span>
break;
default:
<span class="notification-text">
<i>@Loc["unsupported notification type"]</i>