webadmin: refactored volume-brick actions availability

updating the available actions code in the volume-bricks subtab
is refactored. Removed the duplicate checks.

Change-Id: I4d3e025534cdafb25e3dddbb03705d8d19351b61
Signed-off-by: Kanagaraj M <kmayilsa@redhat.com>