Skip to content

Commit

Permalink
fix: Link in edit move pages - refs #254291
Browse files Browse the repository at this point in the history
  • Loading branch information
dobri1408 committed Jul 20, 2023
1 parent 6ee7d6c commit 56092ce
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/TagsBlock/View.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ const View = ({ data, mode }) => {
<TagList.Tag
className={item.class}
color={item.color || 'teal'}
href={mode !== 'edit' && item.href ? item.href : '#'}
{...(mode !== 'edit' && item.href ? { href: item.href } : {})}
openLinkInNewTab={!!item.openLinkInNewTab}
showTagIcon={showTagIcon}
key={item.category}
Expand Down

0 comments on commit 56092ce

Please sign in to comment.