summaryrefslogtreecommitdiff
path: root/packages/frontend/src/components/global
diff options
context:
space:
mode:
authorおさむのひと <46447427+samunohito@users.noreply.github.com>2023-11-30 08:15:13 +0900
committerGitHub <noreply@github.com>2023-11-30 08:15:13 +0900
commit413f7bfb44e885c82ba49fc098b620831830d0c5 (patch)
tree00b51ac3e8eaf26fac3eea24aa8f2f204aae7b6e /packages/frontend/src/components/global
parentenhance(frontend): Shareページでの投稿完了時にpostMessageを発火... (diff)
downloadmisskey-413f7bfb44e885c82ba49fc098b620831830d0c5.tar.gz
misskey-413f7bfb44e885c82ba49fc098b620831830d0c5.tar.bz2
misskey-413f7bfb44e885c82ba49fc098b620831830d0c5.zip
Fix: navigator.share未サポートの場合は共有ボタンを非表示にする(+URLのコピーボタンを設置) (#12506)
* navigator.share未サポートの場合は共有ボタンを非表示にする * fix CHANGELOG.md * ライセンス表示追加 * URLのコピーボタンを設置
Diffstat (limited to 'packages/frontend/src/components/global')
-rw-r--r--packages/frontend/src/components/global/MkPageHeader.vue8
1 files changed, 2 insertions, 6 deletions
diff --git a/packages/frontend/src/components/global/MkPageHeader.vue b/packages/frontend/src/components/global/MkPageHeader.vue
index 580816abaa..935ca33eb5 100644
--- a/packages/frontend/src/components/global/MkPageHeader.vue
+++ b/packages/frontend/src/components/global/MkPageHeader.vue
@@ -48,16 +48,12 @@ import { scrollToTop } from '@/scripts/scroll.js';
import { globalEvents } from '@/events.js';
import { injectPageMetadata } from '@/scripts/page-metadata.js';
import { $i, openAccountMenu as openAccountMenu_ } from '@/account.js';
+import { PageHeaderItem } from '@/types/page-header.js';
const props = withDefaults(defineProps<{
tabs?: Tab[];
tab?: string;
- actions?: {
- text: string;
- icon: string;
- highlighted?: boolean;
- handler: (ev: MouseEvent) => void;
- }[];
+ actions?: PageHeaderItem[];
thin?: boolean;
displayMyAvatar?: boolean;
}>(), {