changes show/hide logic for repo tab