Fixing pills when drag and drop

stable
Alejandro Alonso 2016-09-22 15:18:19 +02:00 committed by David Barragán Merino
parent b0395724ed
commit fffc140898
1 changed files with 3 additions and 2 deletions

View File

@ -22,8 +22,9 @@ module = angular.module('taigaEpics')
BelongToEpicsDirective = () ->
link = (scope, el, attrs) ->
if scope.epics && !scope.epics.isIterable
scope.epics = Immutable.fromJS(scope.epics)
scope.$watch 'epics', (epics) ->
if epics && !epics.isIterable
scope.epics = Immutable.fromJS(epics)
templateUrl = (el, attrs) ->
if attrs.format