feat: display child task tags for development mode

This commit is contained in:
Johannes Millan 2020-04-06 23:04:49 +02:00
parent f17d8fce6e
commit 503b815ef9
2 changed files with 3 additions and 1 deletions

View file

@ -88,7 +88,7 @@
contentEditableOnClick
contenteditable="true"
tabindex="2"></div>
<tag-list *ngIf="!task.parentId"
<tag-list *ngIf="!task.parentId || isDev"
[task]="task"></tag-list>
<div class="spacer"
style="width:10px; display: block; border-right-width: 1px; border-right-style: solid"></div>

View file

@ -37,6 +37,7 @@ import {AddTaskReminderInterface} from '../dialog-add-task-reminder/add-task-rem
import {TODAY_TAG} from '../../tag/tag.const';
import {DialogEditTagsForTaskComponent} from '../../tag/dialog-edit-tags/dialog-edit-tags-for-task.component';
import {WorkContextService} from '../../work-context/work-context.service';
import {environment} from '../../../../environments/environment';
@Component({
selector: 'task',
@ -72,6 +73,7 @@ export class TaskComponent implements OnInit, OnDestroy, AfterViewInit {
ShowSubTasksMode = ShowSubTasksMode;
contextMenuPosition = {x: '0px', y: '0px'};
progress: number;
isDev = !environment.production;
private _task$ = new ReplaySubject<TaskWithSubTasks>(1);
issueUrl$: Observable<string> = this._task$.pipe(