mirror of
https://github.com/EGroupware/egroupware.git
synced 2025-02-22 21:30:54 +01:00
Adopt toolbar widget to use buttonIcon
This commit is contained in:
parent
83dc0a95f8
commit
151fc00641
@ -635,7 +635,7 @@ export class et2_toolbar extends et2_DOMWidget implements et2_IInput
|
|||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
widget = <Et2Button>loadWebComponent("et2-button", {
|
widget = <Et2Button>loadWebComponent(egwIsMobile() && !this.preference[action.id]?"et2-button-icon":"et2-button", {
|
||||||
id: `${this.id}-${action.id}`,
|
id: `${this.id}-${action.id}`,
|
||||||
image: action.iconUrl || '',
|
image: action.iconUrl || '',
|
||||||
slot: "buttons",
|
slot: "buttons",
|
||||||
|
Loading…
Reference in New Issue
Block a user