Skip to content
Snippets Groups Projects
Commit 5a498045 authored by Piotr Gawron's avatar Piotr Gawron
Browse files

Merge branch '342-issueopen-link-assigned-to-an-element-on-click-in-new-frontend' into 'main'

show toast allows html

See merge request !375
parents 4589635b ebe6e1a3
No related branches found
No related tags found
3 merge requests!379Merge 18.1.0,!37818.1.0 to devel,!375show toast allows html
Pipeline #100786 passed
......@@ -19,9 +19,8 @@ export const Toast = ({ type, message, onDismiss }: ToastArgs): React.ReactNode
'h-full overflow-y-auto text-base font-bold',
type === 'error' ? 'text-red-500' : 'text-green-500',
)}
>
{message}
</p>
dangerouslySetInnerHTML={{ __html: message }}
/>
<button type="button" onClick={onDismiss} className="ml-auto flex-none">
<Icon name="close" className="ml-3 h-7 w-7 fill-font-500" />
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment