Skip to content
This repository was archived by the owner on Jan 2, 2025. It is now read-only.

Commit 096f40b

Browse files
check last_update field instead of sync status to identify if repo is queryable (#462)
1 parent 8cdb85f commit 096f40b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

client/src/components/RepoCard/index.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ const RepoCard = ({
5050
const { navigateRepoPath, navigateSearch } = useAppNavigation();
5151

5252
const handleClick = useCallback(() => {
53-
if (sync_status !== SyncStatus.Done) {
53+
if (!last_update || last_update === '1970-01-01T00:00:00Z') {
5454
return;
5555
}
5656
if (isGithubConnected && isAnalyticsAllowed) {

0 commit comments

Comments
 (0)