fix(frontend): pageheaderの型を修正 (#16803)
This commit is contained in:
parent
e588615ea9
commit
7afe0d44d1
|
|
@ -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;
|
||||||
};
|
};
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue