diff --git a/CHANGELOG.md b/CHANGELOG.md index ca219c6b90..e5412dcceb 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -71,6 +71,7 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/). ### Fixed +- Fix setting result UUID in notes dialog [#2889](https://github.com/greenbone/gsa/pull/2889) - Fixed redirection of createNote on Note detailspage [#2777](https://github.com/greenbone/gsa/pull/2777) - Fixed ScanConfigs and Policies page after changes in [Hyperion](https://github.com/greenbone/hyperion/pull/15) [#2733](https://github.com/greenbone/gsa/pull/2733) - Fixed reload interval for pages using useEntityReloadInterval and useEntitiesReloadInterval hooks [#2716](https://github.com/greenbone/gsa/pull/2716) diff --git a/gsa/src/web/pages/notes/dialog.js b/gsa/src/web/pages/notes/dialog.js index ef98d30b7a..fa227581b0 100644 --- a/gsa/src/web/pages/notes/dialog.js +++ b/gsa/src/web/pages/notes/dialog.js @@ -36,6 +36,7 @@ import { ACTIVE_YES_FOR_NEXT_VALUE, ACTIVE_NO_VALUE, RESULT_ANY, + RESULT_UUID, } from 'gmp/models/override'; import DateTime from 'web/components/date/datetime'; @@ -347,8 +348,8 @@ const NoteDialog = ({ @@ -361,16 +362,16 @@ const NoteDialog = ({ }) : _('UUID') } - checked={state.resultId === '0'} - value="0" + checked={state.result_id === RESULT_UUID} + value={RESULT_UUID} onChange={onValueChange} /> {!fixed && ( )}