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