Bug: When a nodesource is undeployed and you click on a column (ie #Nodes) to sort the nodesources, the undeployed node source icon is switched back to the deployed icon in the compact view.
Fix: Remove NodeSource from Tree when it is deployed or undeployed so that the NS is recreated thus saving the correct NS state.
No need to manually call sortCompactView from Tree.
Bug: When a nodesource is undeployed and you click on a column (ie #Nodes) to sort the nodesources, the undeployed node source icon is switched back to the deployed icon in the compact view.
Fix: Remove NodeSource from Tree when it is deployed or undeployed so that the NS is recreated thus saving the correct NS state. No need to manually call sortCompactView from Tree.