Aam-Digital / ndb-core

Easy-to-use case management web app for NGOs anywhere in the world.
http://www.aam-digital.com
GNU General Public License v3.0
47 stars 14 forks source link

Admin UI for Note: Cannot read properties of undefined (reading 'config') #2438

Open sentry-io[bot] opened 1 week ago

sentry-io[bot] commented 1 week ago

Some instances don't have a view:note/:id config block (either using default or the old appConfig:note-details). This doesn't work with the Admin UI for notes.


Sentry Issue: AAM-DIGITAL-5G0

TypeError: Cannot read properties of undefined (reading 'config')
  at AdminEntityComponent.loadViewConfig (./src/app/core/admin/admin-entity/admin-entity.component.ts:110:49)
  at AdminEntityComponent.init (./src/app/core/admin/admin-entity/admin-entity.component.ts:95:35)
  at AdminEntityComponent.ngOnInit (./src/app/core/admin/admin-entity/admin-entity.component.ts:83:10)
...
(45 additional frame(s) were not displayed)