@mixd-id/web-scaffold 0.1.230406132 → 0.1.230406133

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,7 +1,7 @@
1
1
  {
2
2
  "name": "@mixd-id/web-scaffold",
3
3
  "private": false,
4
- "version": "0.1.230406132",
4
+ "version": "0.1.230406133",
5
5
  "scripts": {
6
6
  "dev": "vite serve",
7
7
  "build": "vite build",
@@ -250,6 +250,8 @@ export default{
250
250
  },
251
251
 
252
252
  handleScroll: throttle(function(){
253
+ if(!this.$refs.scroller || !this.$refs.cont) return
254
+
253
255
  this.scrollTop = this.$refs.cont.scrollTop
254
256
  this.scrollLeft = this.$refs.cont.scrollLeft
255
257
 
@@ -10,6 +10,7 @@ let ListView = {
10
10
  itemsPerPage: 24,
11
11
  model: '',
12
12
  channel: '',
13
+ conn: null,
13
14
 
14
15
  async load(params){
15
16
 
@@ -48,7 +49,11 @@ let ListView = {
48
49
  return
49
50
  }
50
51
 
51
- const summary = ((params.preset ?? {}).summaries ?? []).filter((_) => _.enabled).pop()
52
+ if(!params || !params.preset){
53
+ return
54
+ }
55
+
56
+ const summary = (params.preset.summaries ?? []).filter((_) => _.enabled).pop()
52
57
  if(!summary) return
53
58
 
54
59
  const { derivedSql, where, replacements } = loadResults