Improve local evidence search and AI capabilities
This commit is contained in:
@@ -660,6 +660,17 @@ pub(crate) fn collect_filetree_render_rows(
|
||||
object_identity: resource_meta
|
||||
.and_then(|meta| meta.get("objectIdentity"))
|
||||
.and_then(|value| serde_json::to_string(value).ok()),
|
||||
index_status: item
|
||||
.get("indexStatus")
|
||||
.and_then(Value::as_str)
|
||||
.or_else(|| {
|
||||
resource_meta
|
||||
.and_then(|meta| meta.get("indexStatus"))
|
||||
.and_then(Value::as_str)
|
||||
})
|
||||
.map(str::trim)
|
||||
.filter(|value| *value == "indexed" || *value == "failed")
|
||||
.map(ToOwned::to_owned),
|
||||
selected,
|
||||
})
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user