Fixed bug where owner could delete project owners in view

Fixed a small bug where owners could delete project owners in their projects within the view mode. This functionality should be restricted to edit mode.

 Please enter the commit message for your changes. Lines starting