mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-12-28 09:38:53 +01:00
Fix selecting an app changed icon in first entry instead of displayed icon
This commit is contained in:
parent
330461c28b
commit
01a08447cb
@ -105,7 +105,7 @@ export class Et2LinkAppSelect extends SlotMixin(Et2Select)
|
||||
super.connectedCallback();
|
||||
|
||||
// Set icon
|
||||
this.querySelector("[slot='prefix']").setAttribute("src", this.value + "/navbar");
|
||||
this.querySelector(":scope > [slot='prefix']").setAttribute("src", this.value + "/navbar");
|
||||
|
||||
if(!this.value)
|
||||
{
|
||||
@ -176,7 +176,7 @@ export class Et2LinkAppSelect extends SlotMixin(Et2Select)
|
||||
_handleChange(e)
|
||||
{
|
||||
// Set icon
|
||||
this.querySelector("[slot='prefix']").setAttribute("src", this.value + "/navbar");
|
||||
this.querySelector(":scope > [slot='prefix']").setAttribute("src", this.value + "/navbar");
|
||||
|
||||
// update preference
|
||||
let appname = "";
|
||||
|
Loading…
Reference in New Issue
Block a user