Skip to content

Commit 18079ee

Browse files
committed
v5.4.8
1 parent d88b92f commit 18079ee

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@netdata/netdata-ui",
3-
"version": "5.4.7",
3+
"version": "5.4.8",
44
"description": "netdata UI kit",
55
"main": "dist/index.js",
66
"module": "dist/es6/index.js",

src/mixins/opacity.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,5 +7,5 @@ const opacityMap = {
77

88
export default ({ opacity }) => {
99
const value = (opacity && opacityMap[opacity]) || opacity
10-
return value ? `opacity: ${value};` : ""
10+
return value !== undefined && value !== null ? `opacity: ${value};` : ""
1111
}

0 commit comments

Comments
 (0)