Tucsky / aggr

Cryptocurrency trades aggregator
https://charts.aggr.trade/
GNU General Public License v3.0
801 stars 232 forks source link

Uncaught (in promise) TypeError: Cannot read properties of undefined (reading 'disabled') ― when trying to use custom template #348

Closed viralhysteria closed 12 months ago

viralhysteria commented 12 months ago

I've been using aggr with a template I made last summer and I noticed today that all of a sudden no data is being served for any template I use except default. If I manually toggle each individual element, they reappear until the next reload, but they don't actually update value-wise. I'm not seeing anything in the commit log that can reasonably explain this change in behavior.

aggr1

How the template should/used to look aggr2

How the template currently looks aggr3

This issue is replicated across any and all of the other saved templates I have as well.

I've linked the source code for the template externally because it's far beyond the character limit bin.disroot/?2c8a4c536122f0cd#4dGExX76atLqn94mt9ZLxyv1YjCK54iB81dYQQ3EN3Ra

Tucsky commented 12 months ago

This could be linked to deleted exchanges, and template still referencing them I'm attempting a fix, is it loading ok if you hard refresh now?

viralhysteria commented 12 months ago

yes, whatever you did worked and everything is functioning as expected now. thanks so much for the quick fix. i've been a bit lazy about removing the old exchanges.

Tucsky commented 12 months ago

i've been a bit lazy about removing the old exchanges.

You shouldn't have to bother about this, it's my mistake Thanks for letting us know !