mirror of
https://github.com/johannesjo/super-productivity.git
synced 2026-07-25 08:53:50 +00:00
feat: display child task tags for development mode
This commit is contained in:
parent
f17d8fce6e
commit
503b815ef9
2 changed files with 3 additions and 1 deletions
|
|
@ -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>
|
||||
|
|
|
|||
|
|
@ -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(
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue