File tree 1 file changed +6
-6
lines changed
packages/server/src/services/documentstore
1 file changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -589,12 +589,12 @@ const processAndSaveChunks = async (data: IDocumentStoreLoaderForPreview) => {
589
589
found . totalChars = 0
590
590
found . status = DocumentStoreStatus . SYNCING
591
591
entity . loaders = JSON . stringify ( existingLoaders )
592
- data . loaderId = found . loaderId
593
- data . loaderName = found . loaderName
594
- data . loaderConfig = found . loaderConfig
595
- data . splitterId = found . splitterId
596
- data . splitterName = found . splitterName
597
- data . splitterConfig = found . splitterConfig
592
+ if ( ! data . loaderId ) data . loaderId = found . loaderId
593
+ if ( ! data . loaderName ) data . loaderName = found . loaderName
594
+ if ( ! data . loaderConfig ) data . loaderConfig = found . loaderConfig
595
+ if ( ! data . splitterId ) data . splitterId = found . splitterId
596
+ if ( ! data . splitterName ) data . splitterName = found . splitterName
597
+ if ( ! data . splitterConfig ) data . splitterConfig = found . splitterConfig
598
598
if ( found . credential ) {
599
599
data . credential = found . credential
600
600
}
You can’t perform that action at this time.
0 commit comments