git.99rst.org
/
flatnotes.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
| inline |
side by side
(parent:
9bfa399
)
Prevent search modal keyboard shortcut from working on login view
author
Adam Dullage
<redacted>
Tue, 7 May 2024 20:15:33 +0000
(21:15 +0100)
committer
Adam Dullage
<redacted>
Tue, 7 May 2024 20:15:33 +0000
(21:15 +0100)
client/App.vue
patch
|
blob
|
history
diff --git
a/client/App.vue
b/client/App.vue
index 4591effdbcb5265242c5031ee5ca8466917f3f90..d5a96cd9b9e6b7733175895536f91aed929850da 100644
(file)
--- a/
client/App.vue
+++ b/
client/App.vue
@@
-34,8
+34,10
@@
const toast = useToast();
\r
// '/' to search
\r
Mousetrap.bind("/", function () {
\r
- toggleSearchModal();
\r
- return false;
\r
+ if (route.name !== "login") {
\r
+ toggleSearchModal();
\r
+ return false;
\r
+ }
\r
});
\r
\r
getConfig()
\r
git clone https://git.99rst.org/PROJECT