iobio / gene.iobio

Gene.iobio vue
MIT License
55 stars 11 forks source link

Silent error when loading FilterSettingsDialog #968

Closed tonydisera closed 10 months ago

tonydisera commented 10 months ago

Click on the glyph to edit a filter in the FlaggedVariantsCard. The dialog loads, but there are error messages in the console:

TypeError: Cannot read properties of undefined (reading 'trim')
    at FilterSettings.vue:441:1
    at Array.filter (<anonymous>)
    at VueComponent.isDuplicateName (FilterSettings.vue:438:1)
    at VueComponent.isValidFilter (FilterSettings.vue:458:1)
    at Watcher.get (vue.runtime.esm.js:4479:1)
    at Watcher.evaluate (vue.runtime.esm.js:4584:1)
    at VueComponent.computedGetter [as isValidFilter] (vue.runtime.esm.js:4836:1)
    at VueComponent.render (FilterSettings.vue:272:1)
    at Vue._render (vue.runtime.esm.js:3548:1)
    at VueComponent.updateComponent (vue.runtime.esm.js:4066:1)