Showing
1 changed file
with
4 additions
and
4 deletions
... | ... | @@ -150,10 +150,10 @@ export default function EventRowDirective($compile, $templateCache, $mdDialog, $ |
150 | 150 | } |
151 | 151 | } |
152 | 152 | |
153 | - scope.checkEdgeEventType = function (edgeEventType) { | |
154 | - return !(edgeEventType === types.edgeEventType.widgetType || | |
155 | - edgeEventType === types.edgeEventType.adminSettings || | |
156 | - edgeEventType === types.edgeEventType.widgetsBundle ); | |
153 | + scope.checkEdgeEventType = function (type) { | |
154 | + return !(type === types.edgeEventType.widgetType || | |
155 | + type === types.edgeEventType.adminSettings || | |
156 | + type === types.edgeEventType.widgetsBundle ); | |
157 | 157 | } |
158 | 158 | |
159 | 159 | scope.checkTooltip = function($event) { | ... | ... |