Hide the view button if that is the only action you can do