mirror of
https://github.com/MODSetter/SurfSense.git
synced 2026-05-29 19:35:20 +02:00
feat: reset indexing configurations in connector dialog
This commit is contained in:
parent
00934ff462
commit
3ce831d01d
1 changed files with 6 additions and 0 deletions
|
|
@ -867,6 +867,9 @@ export const useConnectorDialog = () => {
|
|||
|
||||
setIsOpen(false);
|
||||
setIsFromOAuth(false);
|
||||
setIndexingConfig(null);
|
||||
setIndexingConnector(null);
|
||||
setIndexingConnectorConfig(null);
|
||||
|
||||
refreshConnectors();
|
||||
queryClient.invalidateQueries({
|
||||
|
|
@ -898,6 +901,9 @@ export const useConnectorDialog = () => {
|
|||
const handleSkipIndexing = useCallback(() => {
|
||||
setIsOpen(false);
|
||||
setIsFromOAuth(false);
|
||||
setIndexingConfig(null);
|
||||
setIndexingConnector(null);
|
||||
setIndexingConnectorConfig(null);
|
||||
}, [setIsOpen]);
|
||||
|
||||
// Handle starting edit mode
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue