umbraco / Package.Templates

MIT License
15 stars 10 forks source link

changes for the Icons to load pre and post Umb v8.8 #39

Closed KevinJump closed 3 years ago

KevinJump commented 3 years ago

Fixes that hopefully sort of the loading of the icons between Umbraco versions.

pre v8.8 the getIcons method returns the names post getAllIcons returns the objects.

Calling them via another variable (setting the variable to the method) seems to cause issues withthe this calls within the umbraco methods. I am no JS expert - so just revert to two calls.

LottePitcher commented 3 years ago

Cheers @KevinJump - icon page working in 8.9.1