Fixed showing/hiding view admin portal issue.