clean up user
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user