Fix showing Component status in an Environment

Fixed status line for the component in environment

Change-Id: I3eee7cde71410faa523e87ab1ab550ac22976839
Closes-Bug: #1304893
Merge "Fix showing Component status in an Environment"