mirror of
https://github.com/EGroupware/egroupware.git
synced 2025-02-17 02:41:02 +01:00
Api: Fix missing spinner icons
This commit is contained in:
parent
d3ff4dc2e8
commit
89483d80d3
@ -45,7 +45,7 @@ export class Et2ButtonIcon extends ButtonMixin(Et2InputWidget(SlIconButton))
|
|||||||
}
|
}
|
||||||
if(new_image && !this.src)
|
if(new_image && !this.src)
|
||||||
{
|
{
|
||||||
this.name = new_image;
|
this.__name = new_image;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -58,6 +58,11 @@ export class Et2ButtonIcon extends ButtonMixin(Et2InputWidget(SlIconButton))
|
|||||||
{
|
{
|
||||||
// No - use image to avoid conflicts between our icons & SlIconButton's image/url loading
|
// No - use image to avoid conflicts between our icons & SlIconButton's image/url loading
|
||||||
}
|
}
|
||||||
|
|
||||||
|
get name()
|
||||||
|
{
|
||||||
|
return super.name;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
customElements.define("et2-button-icon", Et2ButtonIcon);
|
customElements.define("et2-button-icon", Et2ButtonIcon);
|
@ -87,14 +87,14 @@ export class Et2ButtonScroll extends ButtonMixin(LitElement)
|
|||||||
<et2-button-icon
|
<et2-button-icon
|
||||||
noSubmit
|
noSubmit
|
||||||
data-direction="1"
|
data-direction="1"
|
||||||
name="chevron-up"
|
image="chevron-up"
|
||||||
part="button"
|
part="button"
|
||||||
>↑
|
>↑
|
||||||
</et2-button-icon>
|
</et2-button-icon>
|
||||||
<et2-button-icon
|
<et2-button-icon
|
||||||
noSubmit
|
noSubmit
|
||||||
data-direction="-1"
|
data-direction="-1"
|
||||||
name="chevron-down"
|
image="chevron-down"
|
||||||
part="button"
|
part="button"
|
||||||
>↓
|
>↓
|
||||||
</et2-button-icon>
|
</et2-button-icon>
|
||||||
|
Loading…
Reference in New Issue
Block a user