MOBILE-2620 context-menu: Allow menu items without icon
parent
3fed57b912
commit
f85c06eff5
|
@ -54,11 +54,7 @@ export class CoreContextMenuPopoverComponent {
|
||||||
event.preventDefault();
|
event.preventDefault();
|
||||||
event.stopPropagation();
|
event.stopPropagation();
|
||||||
|
|
||||||
if (!item.iconAction) {
|
if (item.iconAction == 'spinner') {
|
||||||
this.logger.warn('Items with action must have an icon action to work', item);
|
|
||||||
|
|
||||||
return false;
|
|
||||||
} else if (item.iconAction == 'spinner') {
|
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue