chore: tweak memo detail styles

This commit is contained in:
Steven
2023-12-27 23:25:02 +08:00
parent cc40803b06
commit 9ee4b75bbd
6 changed files with 51 additions and 95 deletions

View File

@ -36,6 +36,7 @@ const VersionUpdateMessage = ({ inbox }: Props) => {
if (!activity?.payload?.versionUpdate?.version) {
return;
}
window.open(`https://github.com/usememos/memos/releases/tag/v${activity?.payload?.versionUpdate?.version}`);
if (inbox.status === Inbox_Status.UNREAD) {
handleArchiveMessage(true);