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.
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.