mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-22 16:03:47 +01:00
Make sure values are strings, otherwise they might not match comparison
Should fix tracker list "Created by" filter losing display when you select a search result
This commit is contained in:
parent
71f4a93d56
commit
4b8b454566
@ -241,7 +241,7 @@ export function cleanSelectOptions(options : SelectOption[] | string[] | object)
|
|||||||
{
|
{
|
||||||
option = {label: key + ""};
|
option = {label: key + ""};
|
||||||
}
|
}
|
||||||
option.value = option.value ?? key.trim(); // link_search prefixes keys with one space
|
option.value = "" + (option.value ?? key.trim()); // link_search prefixes keys with one space
|
||||||
fixed_options.push(option);
|
fixed_options.push(option);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -85,7 +85,7 @@ export const SelectAccountMixin = <T extends Constructor<LitElement>>(superclass
|
|||||||
}
|
}
|
||||||
|
|
||||||
let account_name = null;
|
let account_name = null;
|
||||||
let option = <SelectOption>{value: id, label: id + " ..."};
|
let option = <SelectOption>{value: "" + id, label: id + " ..."};
|
||||||
this.account_options.push(option);
|
this.account_options.push(option);
|
||||||
if(this.value && (account_name = this.egw().link_title('api-accounts', id, false)))
|
if(this.value && (account_name = this.egw().link_title('api-accounts', id, false)))
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user