Skip to content

Commit

Permalink
missing editable
Browse files Browse the repository at this point in the history
  • Loading branch information
Draskovits Stefan committed Jan 30, 2017
1 parent 1669c1b commit 5039b92
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
<div class='tags'>
<span class='hint' *ngIf='tags.size === 0'>This user has no tags assigned and therefore is not associated with this ticket.</span>
<tt-taginput
[editable]="editable"
[tags]="tags"
[allTags]="allTags"
(tagAdd)="tagAdd.emit($event)"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,8 @@ export class AssignedUserComponent implements OnInit {
@Input() tags: imm.List<{ id: string, transient: boolean }>;
@Input() allTags: imm.Map<string, TicketDetailAssTag>;
@Input() projectId: string;
@Input() editable: boolean = true;

@Output() readonly tagAdd = new EventEmitter<string>();
@Output() readonly tagRemove = new EventEmitter<string>();

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
<h2 class="first">Ticket Users</h2>
<div class="assigned-user" *ngFor="let a of assignments; trackBy: assignedUserTrackBy">
<tt-assigned-user
[editable]="isAllowedToEdit"
[user]="a.user"
[tags]="a.tags"
[allTags]="allAssignmentTags"
Expand Down

0 comments on commit 5039b92

Please sign in to comment.