We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d88b92f commit 18079eeCopy full SHA for 18079ee
2 files changed
package.json
@@ -1,6 +1,6 @@
1
{
2
"name": "@netdata/netdata-ui",
3
- "version": "5.4.7",
+ "version": "5.4.8",
4
"description": "netdata UI kit",
5
"main": "dist/index.js",
6
"module": "dist/es6/index.js",
src/mixins/opacity.js
@@ -7,5 +7,5 @@ const opacityMap = {
7
8
export default ({ opacity }) => {
9
const value = (opacity && opacityMap[opacity]) || opacity
10
- return value ? `opacity: ${value};` : ""
+ return value !== undefined && value !== null ? `opacity: ${value};` : ""
11
}
0 commit comments