mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-22 16:03:47 +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)
|
||||
{
|
||||
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
|
||||
}
|
||||
|
||||
get name()
|
||||
{
|
||||
return super.name;
|
||||
}
|
||||
}
|
||||
|
||||
customElements.define("et2-button-icon", Et2ButtonIcon);
|
@ -87,14 +87,14 @@ export class Et2ButtonScroll extends ButtonMixin(LitElement)
|
||||
<et2-button-icon
|
||||
noSubmit
|
||||
data-direction="1"
|
||||
name="chevron-up"
|
||||
image="chevron-up"
|
||||
part="button"
|
||||
>↑
|
||||
</et2-button-icon>
|
||||
<et2-button-icon
|
||||
noSubmit
|
||||
data-direction="-1"
|
||||
name="chevron-down"
|
||||
image="chevron-down"
|
||||
part="button"
|
||||
>↓
|
||||
</et2-button-icon>
|
||||
|
Loading…
Reference in New Issue
Block a user