diff options
author | Marius David Wieschollek <passwords.public@mdns.eu> | 2021-01-24 01:03:28 +0300 |
---|---|---|
committer | Marius David Wieschollek <passwords.public@mdns.eu> | 2021-01-24 01:03:28 +0300 |
commit | d3ec202802a7b7a1ef607c8f08caf8a4452b1ea6 (patch) | |
tree | 957323f1aa51457226d9cc335d1b90b1920b9b18 | |
parent | bba69b688e7519c3f6580c67ad00015d7fefa8a1 (diff) |
Update passlink integration
Signed-off-by: Marius David Wieschollek <passwords.public@mdns.eu>
-rw-r--r-- | package-lock.json | 8 | ||||
-rw-r--r-- | package.json | 2 | ||||
-rw-r--r-- | src/js/Helper/ThemeCssVarsHelper.js | 1 |
3 files changed, 6 insertions, 5 deletions
diff --git a/package-lock.json b/package-lock.json index 82d785c..3717204 100644 --- a/package-lock.json +++ b/package-lock.json @@ -3592,7 +3592,7 @@ }, "passwords-client": { "version": "https://git.mdns.eu/nextcloud/passwords-client/-/archive/master/passwords-client-master.tar.gz", - "integrity": "sha512-ykKgdH8czXmRmfimYg4M04redj7y3ARKdZlAWY2wrdNNFMChxEAf/DJ8OdP+SlhTXztxdifpHGnuMiOGvagKvQ==", + "integrity": "sha512-nUWRzXvUoSm5zfKhjyUMCZzTiZomBizocoPJiEEekPko2mh8EHCn7s1j1a/1LDhcrQ2y92ED5pEARxhJfWpP0A==", "dev": true, "requires": { "eventemitter3": "^4.0.7", @@ -4604,9 +4604,9 @@ "dev": true }, "sass": { - "version": "1.32.4", - "resolved": "https://registry.npmjs.org/sass/-/sass-1.32.4.tgz", - "integrity": "sha512-N0BT0PI/t3+gD8jKa83zJJUb7ssfQnRRfqN+GIErokW6U4guBpfYl8qYB+OFLEho+QvnV5ZH1R9qhUC/Z2Ch9w==", + "version": "1.32.5", + "resolved": "https://registry.npmjs.org/sass/-/sass-1.32.5.tgz", + "integrity": "sha512-kU1yJ5zUAmPxr7f3q0YXTAd1oZjSR1g3tYyv+xu0HZSl5JiNOaE987eiz7wCUvbm4I9fGWGU2TgApTtcP4GMNQ==", "dev": true, "requires": { "chokidar": ">=2.0.0 <4.0.0" diff --git a/package.json b/package.json index 9cb06b3..d47eb15 100644 --- a/package.json +++ b/package.json @@ -25,7 +25,7 @@ "mini-css-extract-plugin": "^0.9.0", "optimize-css-assets-webpack-plugin": "^5.0.4", "passwords-client": "https://git.mdns.eu/nextcloud/passwords-client/-/archive/master/passwords-client-master.tar.gz", - "sass": "^1.32.4", + "sass": "^1.32.5", "sass-loader": "^10.1.1", "sass-resources-loader": "^2.1.1", "search-query-parser": "^1.5.5", diff --git a/src/js/Helper/ThemeCssVarsHelper.js b/src/js/Helper/ThemeCssVarsHelper.js index bf26710..ac3b3ee 100644 --- a/src/js/Helper/ThemeCssVarsHelper.js +++ b/src/js/Helper/ThemeCssVarsHelper.js @@ -10,6 +10,7 @@ class ThemeCssVarsHelper { '--border-radius-pill' : '100px' }; + if(theme === null) return vars; if(theme.hasOwnProperty('color.primary')) { vars['--color-primary'] = theme['color.primary']; } |