Fixed problem to comment us with epics

stable
Jesús Espino 2017-10-23 17:13:46 +02:00
parent 1494bd1a10
commit e4c96f8796
4 changed files with 4 additions and 4 deletions

View File

@ -1,5 +1,5 @@
- var hash = "#";
span.belong-to-epic-pill-wrapper(tg-repeat="epic in epics track by epic.get('id')")
span.belong-to-epic-pill-wrapper(tg-repeat="epic in immutable_epics track by epic.get('id')")
.belong-to-epic-pill(
ng-style="{'background': epic.get('color'), 'border-color': '{{ epic.get('color') | darker: -0.2 }}'}"
title="#{hash}{{epic.get('ref')}} {{epic.get('subject')}}"

View File

@ -1,5 +1,5 @@
- var hash = "#";
span.belong-to-epic-text-wrapper(tg-repeat="epic in epics track by epic.get('id')")
span.belong-to-epic-text-wrapper(tg-repeat="epic in immutable_epics track by epic.get('id')")
a.belong-to-epic-text(
href=""
tg-nav="project-epics-detail:project=epic.getIn(['project', 'slug']),ref=epic.get('ref')"

View File

@ -24,7 +24,7 @@ BelongToEpicsDirective = () ->
link = (scope, el, attrs) ->
scope.$watch 'epics', (epics) ->
if epics && !epics.isIterable
scope.epics = Immutable.fromJS(epics)
scope.immutable_epics = Immutable.fromJS(epics)
templateUrl = (el, attrs) ->
if attrs.format

View File

@ -716,7 +716,7 @@ gulp.task("express", function() {
res.sendFile("index.html", {root: __dirname + "/dist/"});
});
app.listen(9002);
app.listen(9001);
});
//Rerun the task when a file changes