irceline / aq-mobile-be

App for consulting air quality data in Belgium using the ionic framework for Android and iOS
Apache License 2.0
7 stars 8 forks source link

Error on feedback submission #259

Closed opeeters closed 3 years ago

opeeters commented 3 years ago

On the feature/52n-user-location-notification branch, sending feedback ens with the following error:

core.js:6241 ERROR TypeError: feedbackCodes.map is not a function
    at RatingScreenComponent.feedbackGiven (rating-screen.component.ts:65)
    at RatingScreenComponent_ng_container_3_Template_app_feedback_feedbackGiven_6_listener (template.html:11)
    at executeListenerWithErrorHandling (core.js:21860)
    at wrapListenerIn_markDirtyAndPreventDefault (core.js:21902)
    at SafeSubscriber.schedulerFn [as _next] (core.js:37225)
    at SafeSubscriber.__tryOrUnsub (Subscriber.js:183)
    at SafeSubscriber.next (Subscriber.js:122)
    at Subscriber._next (Subscriber.js:72)
    at Subscriber.next (Subscriber.js:49)
    at EventEmitter.next (Subject.js:39)

Probably related to the introduction of the location editing functionality: e3c1232ced09aaf4df52084838fee94225929f13

opeeters commented 3 years ago

All is well.. Thanks!