lens
lens copied to clipboard
Fix not being able to switch metrics if none are available
- Previously if there were no metrics for the current selected options then you couldn't switch options.
Signed-off-by: Sebastian Malton [email protected]
https://user-images.githubusercontent.com/8225332/169358252-95807813-68fd-4f4b-8622-0e57ab2f1f75.mov
To further elaborate, the bug manifested itself that if there were CPU metrics but not MEMORY metrics and you switched to the memory metrics it was not possible to switch back