mirror of
https://github.com/MODSetter/SurfSense.git
synced 2026-04-25 00:36:31 +02:00
skip indexing config dialog for non-indexable connectors
This commit is contained in:
parent
ea3508cb25
commit
c277b6c121
1 changed files with 3 additions and 0 deletions
|
|
@ -314,6 +314,9 @@ export const useConnectorDialog = () => {
|
||||||
oauthConnector.title,
|
oauthConnector.title,
|
||||||
oauthConnector.connectorType
|
oauthConnector.connectorType
|
||||||
);
|
);
|
||||||
|
} else if (!newConnector.is_indexable) {
|
||||||
|
toast.success(`${oauthConnector.title} connected successfully!`);
|
||||||
|
await refetchAllConnectors();
|
||||||
} else {
|
} else {
|
||||||
toast.dismiss("auto-index");
|
toast.dismiss("auto-index");
|
||||||
const config = validateIndexingConfigState({
|
const config = validateIndexingConfigState({
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue