mirror of
https://git.joinsharkey.org/Sharkey/Sharkey.git
synced 2024-11-23 11:13:08 +02:00
fix(client): some fixes
This commit is contained in:
parent
00be79ce13
commit
d72ac908f4
3 changed files with 6 additions and 0 deletions
|
@ -168,6 +168,7 @@ export default defineComponent({
|
|||
onInput,
|
||||
onKeydown,
|
||||
updated,
|
||||
i18n,
|
||||
};
|
||||
},
|
||||
});
|
||||
|
|
|
@ -170,6 +170,7 @@ function onHeaderMousedown(evt: MouseEvent) {
|
|||
beforeClickedAt = Date.now();
|
||||
|
||||
const main = rootEl;
|
||||
if (main == null) return;
|
||||
|
||||
if (!contains(main, document.activeElement)) main.focus();
|
||||
|
||||
|
|
|
@ -141,6 +141,10 @@ export const routes = [{
|
|||
path: '/webhook',
|
||||
name: 'webhook',
|
||||
component: page(() => import('./pages/settings/webhook.vue')),
|
||||
}, {
|
||||
path: '/deck',
|
||||
name: 'deck',
|
||||
component: page(() => import('./pages/settings/deck.vue')),
|
||||
}, {
|
||||
path: '/other',
|
||||
name: 'other',
|
||||
|
|
Loading…
Reference in a new issue