Skip to content

Commit

Permalink
Fix TagDialog when opening from within TagsDialog
Browse files Browse the repository at this point in the history
  • Loading branch information
swaterkamp committed Aug 15, 2018
1 parent 738eba6 commit e389289
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions gsa/src/web/pages/tags/dialog.js
Original file line number Diff line number Diff line change
Expand Up @@ -193,7 +193,7 @@ class TagDialog extends React.Component {
comment = '',
fixed = false,
name = _('default:unnamed'),
resourceCount,
resourceCount = 0,
resource_types = [],
title = _('New Tag'),
value = '',
Expand Down Expand Up @@ -333,7 +333,7 @@ TagDialog.propTypes = {
fixed: PropTypes.bool,
gmp: PropTypes.gmp.isRequired,
name: PropTypes.string,
resourceCount: PropTypes.number.isRequired,
resourceCount: PropTypes.number,
resource_ids: PropTypes.arrayOf(PropTypes.id),
resource_type: PropTypes.string,
resource_types: PropTypes.array.isRequired,
Expand Down

0 comments on commit e389289

Please sign in to comment.