rancher / kubewarden-ui

Kubewarden's User Interface
Apache License 2.0
11 stars 13 forks source link

Add watch for active tab to refresh codemirror #815

Closed jordojordo closed 2 months ago

jordojordo commented 3 months ago

Fix #803

Recent changes made to the Rancher Dashboard have removed the event that was emitted when a route was changed, in consequence the CodeMirror component was not being refreshed correctly.

I've added a prop to watch the active tab and to manually call the refresh method.