@appscode/design-system 1.0.43-alpha.184 → 1.0.43-alpha.185

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@appscode/design-system",
3
- "version": "1.0.43-alpha.184",
3
+ "version": "1.0.43-alpha.185",
4
4
  "description": "A design system for Appscode websites and dashboards made using Bulma",
5
5
  "main": "main.scss",
6
6
  "scripts": {
@@ -100,7 +100,7 @@ export default {
100
100
  methods: {
101
101
  setDropdownMaxHeight(mode) {
102
102
  if (mode === "open") {
103
- this.dropDownSectionHeight = `${this.$refs["sectionItems"].scrollHeight}px`;
103
+ this.dropDownSectionHeight = `${this.$refs["sectionItems"]?.scrollHeight}px`;
104
104
  } else {
105
105
  this.dropDownSectionHeight = null;
106
106
  }