Fix #9374
This commit is contained in:
syuilo 2022-12-21 08:39:28 +09:00
parent cae4acfbd3
commit c4603c7a96
14 changed files with 21 additions and 25 deletions

View file

@ -66,7 +66,7 @@ const buttonsLeft = $computed(() => {
});
const buttonsRight = $computed(() => {
const buttons = [{
icon: 'ti ti-corner-right-down-double',
icon: 'ti ti-player-eject',
title: i18n.ts.showInPage,
onClick: expand,
}];
@ -86,7 +86,7 @@ provide('shouldOmitHeaderTitle', true);
provide('shouldHeaderThin', true);
const contextmenu = $computed(() => ([{
icon: 'ti ti-corner-right-down-double',
icon: 'ti ti-player-eject',
text: i18n.ts.showInPage,
action: expand,
}, {
@ -108,10 +108,6 @@ const contextmenu = $computed(() => ([{
},
}]));
function menu(ev) {
os.popupMenu(contextmenu, ev.currentTarget ?? ev.target);
}
function back() {
history.pop();
router.replace(history[history.length - 1].path, history[history.length - 1].key);