diff --git a/packages/client/src/components/MkPageWindow.vue b/packages/client/src/components/MkPageWindow.vue index 354abde72..b6a1999fe 100644 --- a/packages/client/src/components/MkPageWindow.vue +++ b/packages/client/src/components/MkPageWindow.vue @@ -24,7 +24,7 @@
- +
@@ -78,15 +78,21 @@ const buttonsLeft = $computed(() => { }); const buttonsRight = $computed(() => { const buttons = [ - { - icon: "ph-arrows-out-simple ph-bold ph-lg", - title: i18n.ts.showInPage, - onClick: expand, - }, + { + icon: 'ph-arrow-clockwise ph-bold ph-lg', + title: i18n.ts.reload, + onClick: reload, + }, + { + icon: "ph-arrows-out-simple ph-bold ph-lg", + title: i18n.ts.showInPage, + onClick: expand, + }, ]; return buttons; }); +let reloadCount = $ref(0); router.addListener("push", (ctx) => { history.push({ path: ctx.path, key: ctx.key }); @@ -140,6 +146,10 @@ function back() { ); } +function reload() { + reloadCount++; +} + function close() { windowEl.close(); } diff --git a/packages/client/src/pages/settings/navbar.vue b/packages/client/src/pages/settings/navbar.vue index 932149f5d..68096ee37 100644 --- a/packages/client/src/pages/settings/navbar.vue +++ b/packages/client/src/pages/settings/navbar.vue @@ -26,7 +26,7 @@
{{ i18n.ts.addItem }} - {{ i18n.ts.default }} + {{ i18n.ts.default }} {{ i18n.ts.save }}