Merge pull request #1200 from taigaio/issue/4863-delete-tags-on-issues-lightbox
Fix #4863: Now can delete tags on new issue lightboxstable
commit
d123ac51c0
|
@ -106,11 +106,11 @@ CreateIssueDirective = ($repo, $confirm, $rootscope, lightboxService, $loading,
|
||||||
value = trim(tag[0].toLowerCase())
|
value = trim(tag[0].toLowerCase())
|
||||||
|
|
||||||
tags = $scope.project.tags
|
tags = $scope.project.tags
|
||||||
itemtags = _.clone($scope.us.tags)
|
itemtags = _.clone($scope.issue.tags)
|
||||||
|
|
||||||
_.remove itemtags, (tag) -> tag[0] == value
|
_.remove itemtags, (tag) -> tag[0] == value
|
||||||
|
|
||||||
$scope.us.tags = itemtags
|
$scope.issue.tags = itemtags
|
||||||
|
|
||||||
_.pull($scope.issue.tags, value)
|
_.pull($scope.issue.tags, value)
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue