Restrict "Properties" context menu item only to a single selected resource
Reuse exising function in the prev. commit
Merge pull request #3371 from ussuri/small-fixes-3

Don't show "Properties" context menu item when multiple resources are selected