From 5623960efaec32882d2ef1b309f7dd01e1cf5bc9 Mon Sep 17 00:00:00 2001 From: mattyatea Date: Thu, 14 Dec 2023 21:06:50 +0900 Subject: [PATCH] bug fix --- locales/index.d.ts | 20 +-- packages/frontend/src/account.ts | 2 +- packages/frontend/src/components/MkButton.vue | 143 +++++++++++++++++- .../src/components/MkEmojiEditDialog.vue | 10 +- .../src/components/MkEmojiPicker.section.vue | 1 + .../frontend/src/components/MkEmojiPicker.vue | 2 +- .../frontend/src/components/MkNoteSimple.vue | 1 - .../src/components/MkNotifyButton.vue | 8 +- .../frontend/src/components/MkPostForm.vue | 8 +- .../src/components/global/MkEmojiKitchen.vue | 4 +- packages/frontend/src/pages/about.emojis.vue | 6 +- packages/frontend/src/pages/about.vue | 2 +- packages/frontend/src/pages/admin/index.vue | 2 +- .../src/pages/admin/other-settings.vue | 18 +-- packages/frontend/src/pages/timeline.vue | 4 +- .../src/ui/_common_/stream-indicator.vue | 1 - 16 files changed, 183 insertions(+), 49 deletions(-) diff --git a/locales/index.d.ts b/locales/index.d.ts index bb797ed710..8b8f1feb96 100644 --- a/locales/index.d.ts +++ b/locales/index.d.ts @@ -2563,6 +2563,16 @@ export interface Locale { }; }; }; + "_schedulePost": { + "list": string; + "postDate": string; + "postTime": string; + "localTime": string; + "addSchedule": string; + "willBePostedAtX": string; + "deleteAreYouSure": string; + "deleteAndEditConfirm": string; + }; "_dataSaver": { "_media": { "title": string; @@ -2581,16 +2591,6 @@ export interface Locale { "description": string; }; }; - "_schedulePost": { - "list": string; - "postDate": string; - "postTime": string; - "localTime": string; - "addSchedule": string; - "willBePostedAtX": string; - "deleteAreYouSure": string; - "deleteAndEditConfirm": string; - }; } declare const locales: { [lang: string]: Locale; diff --git a/packages/frontend/src/account.ts b/packages/frontend/src/account.ts index 0e4e4b50ff..a6af298024 100644 --- a/packages/frontend/src/account.ts +++ b/packages/frontend/src/account.ts @@ -284,7 +284,7 @@ export async function openAccountMenu(opts: { text: i18n.ts.profile, to: `/@${ $i.username }`, avatar: $i, - }, null, ...(opts.includeCurrentAccount ? [createItem($i)] : []), ...accountItemPromises, { + }, { type: 'divider' }, ...(opts.includeCurrentAccount ? [createItem($i)] : []), ...accountItemPromises, { type: 'parent' as const, icon: 'ti ti-plus', text: i18n.ts.addAccount, diff --git a/packages/frontend/src/components/MkButton.vue b/packages/frontend/src/components/MkButton.vue index 9197b4f38d..b5a14a2a39 100644 --- a/packages/frontend/src/components/MkButton.vue +++ b/packages/frontend/src/components/MkButton.vue @@ -65,7 +65,8 @@ SPDX-License-Identifier: AGPL-3.0-only