wintercms / wn-tailwindui-plugin

Provides the TailwindUI-based modern backend skin for the Winter CMS backend
MIT License
13 stars 9 forks source link

Nav items under a different context #17

Closed robertalexa closed 1 year ago

robertalexa commented 1 year ago

If navigation gets registered under a different context then the href of the anchor does not get used. Instead, the JS that listens for the click event looks for a data attrib which is non existent. This PR will simply return if that attrib is undefined.

The backend.css also had changes after compilation, this might have been forgotten in a previous commit.