mirror of
https://github.com/misskey-dev/misskey.git
synced 2026-05-21 09:55:28 +02:00
fix(frontend): pageheaderの型を修正 (#16803)
This commit is contained in:
@@ -447,7 +447,6 @@ const headerTabs = computed(() => room.value ? [{
|
|||||||
|
|
||||||
const headerActions = computed<PageHeaderItem[]>(() => [{
|
const headerActions = computed<PageHeaderItem[]>(() => [{
|
||||||
icon: 'ti ti-dots',
|
icon: 'ti ti-dots',
|
||||||
text: '',
|
|
||||||
handler: showMenu,
|
handler: showMenu,
|
||||||
}]);
|
}]);
|
||||||
|
|
||||||
|
|||||||
@@ -4,8 +4,8 @@
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
export type PageHeaderItem = {
|
export type PageHeaderItem = {
|
||||||
text: string;
|
text?: string;
|
||||||
icon: string;
|
icon: string;
|
||||||
highlighted?: boolean;
|
highlighted?: boolean;
|
||||||
handler: (ev: MouseEvent) => void;
|
handler: (ev: MouseEvent) => void;
|
||||||
};
|
};
|
||||||
|
|||||||
Reference in New Issue
Block a user