diff --git a/package-lock.json b/package-lock.json index cf752c1..dd03f1a 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,6 +1,6 @@ { "name": "foris", - "version": "5.1.3", + "version": "5.1.4", "lockfileVersion": 1, "requires": true, "dependencies": { diff --git a/package.json b/package.json index de36454..9b82478 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "foris", - "version": "5.1.3", + "version": "5.1.4", "description": "Set of components and utils for Foris and its plugins.", "author": "CZ.NIC, z.s.p.o.", "repository": { diff --git a/src/bootstrap/Alert.js b/src/bootstrap/Alert.js index f460931..d0f3acc 100644 --- a/src/bootstrap/Alert.js +++ b/src/bootstrap/Alert.js @@ -37,7 +37,11 @@ Alert.defaultProps = { export function Alert({ type, onDismiss, children }) { return ( -
+
{onDismiss ? (