#293 - Updated dataloom support to 8.6.0
This commit is contained in:
@@ -74,7 +74,7 @@ async function getAndMapIndexedDocument(
|
|||||||
for (const key in obj) {
|
for (const key in obj) {
|
||||||
if (typeof obj[key] === 'object') {
|
if (typeof obj[key] === 'object') {
|
||||||
iterate(obj[key])
|
iterate(obj[key])
|
||||||
} else if (key === 'markdown') {
|
} else if (key === 'content') {
|
||||||
texts.push(obj[key])
|
texts.push(obj[key])
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -174,7 +174,7 @@ export function isFileCanvas(path: string): boolean {
|
|||||||
}
|
}
|
||||||
|
|
||||||
export function isFileFromDataloomPlugin(path: string): boolean {
|
export function isFileFromDataloomPlugin(path: string): boolean {
|
||||||
return path.endsWith('.loom') || path.endsWith('.dashboard')
|
return path.endsWith('.loom')
|
||||||
}
|
}
|
||||||
|
|
||||||
export function getExtension(path: string): string {
|
export function getExtension(path: string): string {
|
||||||
|
|||||||
Reference in New Issue
Block a user