Usertesting: resolve some issues surfaced in #1457

This commit is contained in:
Pieter Vander Vennet 2023-06-14 01:03:28 +02:00
parent d465a272f2
commit 983db5e600
5 changed files with 5 additions and 5 deletions

View file

@ -19,7 +19,7 @@ export default class IndexText extends Combine {
),
Translations.t.index.pickTheme.SetClass(
"mt-3 text-base text-green-600 sm:mt-5 sm:text-lg sm:max-w-xl sm:mx-auto md:mt-5 md:text-xl lg:mx-0"
"mt-3 text-base sm:mt-5 sm:text-lg sm:max-w-xl sm:mx-auto md:mt-5 md:text-xl lg:mx-0"
),
]).SetClass("flex flex-col sm:text-center lg:text-left m-1 mt-2 md:m-2 md:mt-4"),
])

View file

@ -29,6 +29,9 @@ export default class MoreScreen extends Combine {
})
search.enterPressed.addCallbackD((searchTerm) => {
searchTerm = searchTerm.toLowerCase()
if(!searchTerm){
return
}
if (searchTerm === "personal") {
window.location.href = MoreScreen.createUrlFor(
{ id: "personal" },

View file

@ -28,5 +28,4 @@ if (layout !== "") {
)
}
Utils.DisableLongPresses()
new AllThemesGui().setup()

View file

@ -662,6 +662,7 @@
}
}
],
"deletion": true,
"description": {
"en": "This layer shows surveillance cameras and allows a contributor to update information and add new cameras",
"nl": "Deze laag toont bewakingscamera's en laat toe om de informatie te verrijken en om nieuwe camera\"s toe te voegen",

View file

@ -5,9 +5,6 @@ import SvelteUIElement from "./UI/Base/SvelteUIElement"
import ThemeViewGUI from "./UI/ThemeViewGUI.svelte"
import {FixedUiElement} from "./UI/Base/FixedUiElement";
// Miscelleanous
Utils.DisableLongPresses()
// @ts-ignore
DetermineLayout.GetLayout()
.then((layout) => {