Update settings page w/ deleting your account. and update translations.

This commit is contained in:
yuanhau 2025-06-03 11:01:20 +08:00
parent 3ebaff5218
commit 45397675f5
6 changed files with 147 additions and 33 deletions

View file

@ -189,8 +189,8 @@ const openNews = (url: string, titleName: string) => {
emit("openArticles", url, titleName);
};
const openPublisher = (text: string) => {
emit("openNewsSourcePage", text);
const openPublisher = (slug: string, title: string) => {
emit("openNewsSourcePage", slug, title);
};
</script>
<template>
@ -243,7 +243,9 @@ const openPublisher = (text: string) => {
<TooltipProvider>
<Tooltip>
<TooltipTrigger>
<button @click="openPublisher(item.publisherId)">
<button
@click="openPublisher(item.publisherId, item.publisher)"
>
{{ item.publisher }}
</button>
</TooltipTrigger>