mirror of
https://iceshrimp.dev/limepotato/jormungandr-bite.git
synced 2024-11-28 21:08:52 -07:00
Change icon for 'Mark as read' buttons
This commit is contained in:
parent
a6f5a1dbbb
commit
0e03f305cb
4 changed files with 4 additions and 4 deletions
|
@ -101,7 +101,7 @@ const headerActions = $computed(() =>
|
||||||
handler: settings,
|
handler: settings,
|
||||||
},
|
},
|
||||||
// {
|
// {
|
||||||
// icon: "ph-check ph-bold ph-lg",
|
// icon: "ph-checks ph-bold ph-lg",
|
||||||
// text: i18n.ts.markAllAsRead,
|
// text: i18n.ts.markAllAsRead,
|
||||||
// handler: markRead,
|
// handler: markRead,
|
||||||
// },
|
// },
|
||||||
|
|
|
@ -130,7 +130,7 @@ async function readAllMessagingMessages() {
|
||||||
|
|
||||||
const headerActions = $computed(() => [
|
const headerActions = $computed(() => [
|
||||||
{
|
{
|
||||||
icon: "ph-check ph-bold ph-lg",
|
icon: "ph-checks ph-bold ph-lg",
|
||||||
text: i18n.ts.markAllAsRead,
|
text: i18n.ts.markAllAsRead,
|
||||||
handler: readAllMessagingMessages,
|
handler: readAllMessagingMessages,
|
||||||
},
|
},
|
||||||
|
|
|
@ -133,7 +133,7 @@ const headerActions = $computed(() =>
|
||||||
tab === "all"
|
tab === "all"
|
||||||
? {
|
? {
|
||||||
text: i18n.ts.markAllAsRead,
|
text: i18n.ts.markAllAsRead,
|
||||||
icon: "ph-check ph-bold ph-lg",
|
icon: "ph-checks ph-bold ph-lg",
|
||||||
handler: () => {
|
handler: () => {
|
||||||
os.apiWithDialog("notifications/mark-all-as-read");
|
os.apiWithDialog("notifications/mark-all-as-read");
|
||||||
},
|
},
|
||||||
|
|
|
@ -15,7 +15,7 @@
|
||||||
:aria-label="i18n.ts.markAllAsRead"
|
:aria-label="i18n.ts.markAllAsRead"
|
||||||
@click="os.apiWithDialog('notifications/mark-all-as-read')"
|
@click="os.apiWithDialog('notifications/mark-all-as-read')"
|
||||||
>
|
>
|
||||||
<i class="ph-check ph-bold ph-lg"></i></button
|
<i class="ph-checks ph-bold ph-lg"></i></button
|
||||||
><button
|
><button
|
||||||
class="_button"
|
class="_button"
|
||||||
:aria-label="i18n.ts.notificationSetting"
|
:aria-label="i18n.ts.notificationSetting"
|
||||||
|
|
Loading…
Reference in a new issue