sasjs / angular-seed-app

Angular seed app for SASjs
12 stars 2 forks source link

Fix issue with selecting area #680

Closed Christian24 closed 1 year ago

Christian24 commented 1 year ago

Hello,

I noticed a little bug:

https://github.com/sasjs/angular-seed-app/blob/0dac83f3fb670109d70be1446a3fe6b6fa85eff7/src/app/data/data.component.ts#L12 sets selectedArea to null, yet the template https://github.com/sasjs/angular-seed-app/blob/0dac83f3fb670109d70be1446a3fe6b6fa85eff7/src/app/data/data.component.html#L6 checks if selectedArea is undefined. Therefore I changed it in the component to undefinedas well.

allanbowe commented 1 year ago

thanks for the contribution! @all-contributors - please add @Christian24 for code