Skip to content

Commit

Permalink
Fix refresh of technical end date in UI.
Browse files Browse the repository at this point in the history
When changing technical debt with the option "Yes, and also set technical debt target and end date" or "No, and also clear technical debt target and end date", the technical end date value would not be refreshed in the UI.

Fixes #10761.
  • Loading branch information
fniessink committed Feb 4, 2025
1 parent d2c7866 commit dcadd47
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
7 changes: 6 additions & 1 deletion components/frontend/src/metric/MetricDebtParameters.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,12 @@ export function MetricDebtParameters({ metric, metric_uuid, reload, report }) {
/>
</Grid>
<Grid size={{ xs: 1, sm: 1, md: 2 }}>
<TechnicalDebtEndDate metric={metric} metric_uuid={metric_uuid} reload={reload} />
<TechnicalDebtEndDate
key={metric.debt_end_date}
metric={metric}
metric_uuid={metric_uuid}
reload={reload}
/>
</Grid>
<IssuesRows metric={metric} metric_uuid={metric_uuid} reload={reload} report={report} />
<Grid size={{ xs: 1, sm: 3, md: 6 }}>
Expand Down
1 change: 1 addition & 0 deletions docs/src/changelog.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ If your currently installed *Quality-time* version is not the latest version, pl
- Fix accessibility issues found by the application test. Fixes [#6354](https://github.com/ICTU/quality-time/issues/6354).
- When adding multiple sources to one metric, the source names would not be comma-separated in the sources column. Fixes [#10735](https://github.com/ICTU/quality-time/issues/10735).
- The comment field of a metric's technical debt tab would be editable even though the user was not logged in or when the user was time traveling. Note that the server would not save any changes made as it also checks for correct permissions. Fixes [#10739](https://github.com/ICTU/quality-time/issues/10739).
- When changing technical debt with the option "Yes, and also set technical debt target and end date" or "No, and also clear technical debt target and end date", the technical end date value would not be refreshed in the UI. Fixes [#10761](https://github.com/ICTU/quality-time/issues/10761).

### Changed

Expand Down

0 comments on commit dcadd47

Please sign in to comment.