From c4185a4ffa77a9fac069c6f54746a2381d9f1903 Mon Sep 17 00:00:00 2001 From: Johannes Millan Date: Fri, 3 Jan 2025 16:22:56 +0100 Subject: [PATCH] fix: also make open project transition work again #3779 --- ...log-open-project-transition.component.html | 33 ++++++++++--------- ...ialog-open-project-transition.component.ts | 5 ++- 2 files changed, 19 insertions(+), 19 deletions(-) diff --git a/src/app/features/issue/providers/open-project/open-project-view-components/dialog-openproject-transition/dialog-open-project-transition.component.html b/src/app/features/issue/providers/open-project/open-project-view-components/dialog-openproject-transition/dialog-open-project-transition.component.html index 49faaedb63c..3fc396023e5 100644 --- a/src/app/features/issue/providers/open-project/open-project-view-components/dialog-openproject-transition/dialog-open-project-transition.component.html +++ b/src/app/features/issue/providers/open-project/open-project-view-components/dialog-openproject-transition/dialog-open-project-transition.component.html @@ -3,48 +3,49 @@

class="dialog-header-icon" svgIcon="open_project" > - {{T.F.OPEN_PROJECT.DIALOG_TRANSITION.TITLE|translate}} + {{ T.F.OPEN_PROJECT.DIALOG_TRANSITION.TITLE|translate }}

- - + + - + - + - +
{{T.F.OPEN_PROJECT.DIALOG_TRANSITION.TASK_NAME|translate}}{{data.task ? data.task?.title : '–'}}{{ T.F.OPEN_PROJECT.DIALOG_TRANSITION.TASK_NAME|translate }}{{ data.task ? data.task?.title : '–' }}
{{T.F.OPEN_PROJECT.DIALOG_TRANSITION.CURRENT_STATUS|translate}}{{ T.F.OPEN_PROJECT.DIALOG_TRANSITION.CURRENT_STATUS|translate }} - {{data.issue?._embedded?.status?.name ? data.issue?._embedded?.status?.name : - '–'}} + {{ data.issue?._embedded?.status?.name ? data.issue?._embedded?.status?.name : '–' + }}
{{T.F.OPEN_PROJECT.DIALOG_TRANSITION.CURRENT_ASSIGNEE|translate}}{{ T.F.OPEN_PROJECT.DIALOG_TRANSITION.CURRENT_ASSIGNEE|translate }} - {{data.issue?._embedded?.assignee?.name ? data.issue?._embedded?.assignee?.name : - '–'}} + {{ data.issue?._embedded?.assignee?.name ? data.issue?._embedded?.assignee?.name : + '–' }}
{{T.F.OPEN_PROJECT.DIALOG_TRANSITION.PERCENTAGE_DONE|translate}}{{ T.F.OPEN_PROJECT.DIALOG_TRANSITION.PERCENTAGE_DONE|translate }}
- + @@ -52,7 +53,7 @@

transition)) { - {{transition.name}} + {{ transition.name }} } @@ -68,7 +69,7 @@

mat-button type="button" > - {{T.G.CANCEL|translate}} + {{ T.G.CANCEL|translate }} diff --git a/src/app/features/issue/providers/open-project/open-project-view-components/dialog-openproject-transition/dialog-open-project-transition.component.ts b/src/app/features/issue/providers/open-project/open-project-view-components/dialog-openproject-transition/dialog-open-project-transition.component.ts index 213e63961fd..05b3548b224 100644 --- a/src/app/features/issue/providers/open-project/open-project-view-components/dialog-openproject-transition/dialog-open-project-transition.component.ts +++ b/src/app/features/issue/providers/open-project/open-project-view-components/dialog-openproject-transition/dialog-open-project-transition.component.ts @@ -23,7 +23,7 @@ import { IssueProviderService } from 'src/app/features/issue/issue-provider.serv import { assertTruthy } from '../../../../../../util/assert-truthy'; import { FormsModule } from '@angular/forms'; import { AsyncPipe } from '@angular/common'; -import { MatSlider, MatSliderThumb } from '@angular/material/slider'; +import { MatSliderModule } from '@angular/material/slider'; import { TaskService } from '../../../../../tasks/task.service'; import { MatIcon } from '@angular/material/icon'; import { TranslatePipe } from '@ngx-translate/core'; @@ -39,12 +39,11 @@ import { MatButton } from '@angular/material/button'; imports: [ FormsModule, AsyncPipe, - MatSlider, MatDialogTitle, MatIcon, TranslatePipe, MatDialogContent, - MatSliderThumb, + MatSliderModule, MatFormField, MatSelect, MatOption,