Skip to content

Commit

Permalink
Fix: Don't pass gmp object to TagDialog onSave handle
Browse files Browse the repository at this point in the history
The gmp object is not part of saving a tag. Therefore it shouldn't be
put into the state of the TagDialog and passed to the onSave handler.
  • Loading branch information
bjoernricks committed Jun 17, 2024
1 parent c125bc9 commit 5c7b19c
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/web/pages/tags/dialog.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -193,6 +193,7 @@ class TagDialog extends React.Component {
resource_types = [],
title = _('New Tag'),
value = '',
gmp,
onClose,
onSave,
...options
Expand Down

0 comments on commit 5c7b19c

Please sign in to comment.