Skip to content

Commit ce2e364

Browse files
committed
fix: TT-140 time entry info is lost if project is selected at last
1 parent 1332df2 commit ce2e364

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/app/modules/shared/components/details-fields/details-fields.component.html

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -99,6 +99,7 @@
9999
[format]="24"
100100
formControlName="start_hour"
101101
id="start_hour"
102+
[disabled]="!(project_name.value && project_id.value)"
102103
></ngx-timepicker-field>
103104
</div>
104105
</div>
@@ -124,6 +125,7 @@
124125
[format]="24"
125126
formControlName="end_hour"
126127
id="end_hour"
128+
[disabled]="!(project_name.value && project_id.value)"
127129
></ngx-timepicker-field>
128130
</div>
129131
</div>

0 commit comments

Comments
 (0)