-
Notifications
You must be signed in to change notification settings - Fork 2.1k
connector filter bug fix #4771
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
connector filter bug fix #4771
Changes from 1 commit
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -156,7 +156,13 @@ border border-border dark:border-neutral-700 | |
| </TableCell> | ||
| <TableCell> | ||
| <CCPairStatus | ||
| ccPairStatus={ccPairsIndexingStatus.cc_pair_status} | ||
| ccPairStatus={ | ||
| ccPairsIndexingStatus.last_finished_status !== null | ||
| ? ccPairsIndexingStatus.cc_pair_status | ||
| : ccPairsIndexingStatus.last_status == "not_started" | ||
| ? ConnectorCredentialPairStatus.SCHEDULED | ||
| : ConnectorCredentialPairStatus.INITIAL_INDEXING | ||
| } | ||
| inRepeatedErrorState={ccPairsIndexingStatus.in_repeated_error_state} | ||
| lastIndexAttemptStatus={ | ||
| ccPairsIndexingStatus.latest_index_attempt?.status | ||
|
|
@@ -322,11 +328,7 @@ export function CCPairIndexingStatusTable({ | |
|
|
||
| // Filter by last status | ||
| if (filterOptions.lastStatus && filterOptions.lastStatus.length > 0) { | ||
| if ( | ||
| !filterOptions.lastStatus.includes( | ||
| status.last_finished_status as any | ||
| ) | ||
| ) { | ||
| if (!filterOptions.lastStatus.includes(status.last_status as any)) { | ||
|
||
| return false; | ||
| } | ||
| } | ||
|
|
||
Uh oh!
There was an error while loading. Please reload this page.