clean up user

This commit is contained in:
2026-03-17 14:44:20 +01:00
parent 661d5a2a77
commit ad1cb50d94
3 changed files with 5 additions and 28 deletions

View File

@@ -15,7 +15,8 @@ interface omdbRes {
function fromStringToTable(input: string | string[]): (Table | undefined) {
var value = "";
if (Array.isArray(input)) {
value = input[0];
if (input.length > 0)
value = input[0];
}
else {
value = input;