MOBILE-2620 context-menu: Allow menu items without icon

main
Albert Gasset 2018-12-07 12:57:23 +01:00
parent 3fed57b912
commit f85c06eff5
1 changed files with 1 additions and 5 deletions

View File

@ -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;
} }