fix: Individual imported files do not display source correctly in 'Insights'

This commit is contained in:
Tom Moor
2024-03-08 21:29:34 -05:00
parent 193bde0bd5
commit 8f996ca2f3

View File

@@ -82,7 +82,7 @@ export default class Document extends ParanoidModel {
* The name of the original data source, if imported. * The name of the original data source, if imported.
*/ */
get sourceName() { get sourceName() {
if (!this.sourceMetadata) { if (!this.sourceMetadata?.importType) {
return undefined; return undefined;
} }