@appscode/design-system 1.0.43-alpha.172 → 1.0.43-alpha.173

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.172",
3
+ "version": "1.0.43-alpha.173",
4
4
  "description": "A design system for Appscode websites and dashboards made using Bulma",
5
5
  "main": "main.scss",
6
6
  "scripts": {
@@ -232,7 +232,7 @@ export default defineComponent({
232
232
  },
233
233
  onWindowResize() {
234
234
  if (this.$refs["ac-table"] && this.isDynamicWidthTable) {
235
- const tableWidth = this.$refs["ac-table"].clientWidth;
235
+ const tableWidth = this.$refs["ac-table"]?.clientWidth;
236
236
  const d = this.fullWidth - tableWidth;
237
237
  this.fakeCellWidth = d;
238
238
  }
@@ -15,7 +15,7 @@
15
15
  const tableContainer = ref(null)
16
16
 
17
17
  function isScrollerShowing() {
18
- return tableContainer.value?.scrollWidth > tableContainer.value.clientWidth
18
+ return tableContainer.value?.scrollWidth > tableContainer.value?.clientWidth
19
19
  }
20
20
 
21
21
  onMounted(() => {