Use search bar to jump to studio immediately

This commit is contained in:
Pieter Vander Vennet 2024-06-20 02:20:48 +02:00
parent 3525ca728d
commit 1bab69c71f

View file

@ -27,6 +27,10 @@ export default class MoreScreen {
if (searchTerm === "osmcha" || searchTerm === "stats") {
window.location.href = Utils.OsmChaLinkFor(7)
}
if (searchTerm === "studio" ) {
window.location.href = "./studio.html"
}
// Enter pressed -> search the first _official_ matchin theme and open it
const publicTheme = MoreScreen.officialThemes.find(
(th) =>