mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-12-29 01:59:39 +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();
|
super.connectedCallback();
|
||||||
|
|
||||||
// Set icon
|
// Set icon
|
||||||
this.querySelector("[slot='prefix']").setAttribute("src", this.value + "/navbar");
|
this.querySelector(":scope > [slot='prefix']").setAttribute("src", this.value + "/navbar");
|
||||||
|
|
||||||
if(!this.value)
|
if(!this.value)
|
||||||
{
|
{
|
||||||
@ -176,7 +176,7 @@ export class Et2LinkAppSelect extends SlotMixin(Et2Select)
|
|||||||
_handleChange(e)
|
_handleChange(e)
|
||||||
{
|
{
|
||||||
// Set icon
|
// Set icon
|
||||||
this.querySelector("[slot='prefix']").setAttribute("src", this.value + "/navbar");
|
this.querySelector(":scope > [slot='prefix']").setAttribute("src", this.value + "/navbar");
|
||||||
|
|
||||||
// update preference
|
// update preference
|
||||||
let appname = "";
|
let appname = "";
|
||||||
|
Loading…
Reference in New Issue
Block a user