Skip to content
Snippets Groups Projects
Commit 03872dcf authored by Xiao Gui's avatar Xiao Gui
Browse files

chore: remove no kgid message, replace spatial lm message

parent cb8a562c
No related branches found
No related tags found
No related merge requests found
...@@ -101,9 +101,15 @@ export class AtlasViewerDataService implements OnDestroy{ ...@@ -101,9 +101,15 @@ export class AtlasViewerDataService implements OnDestroy{
.then(arr => { .then(arr => {
this.store.dispatch({ this.store.dispatch({
type : FETCHED_SPATIAL_DATA, type : FETCHED_SPATIAL_DATA,
fetchedDataEntries : arr.reduce((acc,curr) => acc.concat(curr.map(obj => Object.assign({}, obj, { fetchedDataEntries: arr
properties : {} .reduce((acc, curr) => acc.concat(curr), [])
}))), []) .map((obj, idx) => {
return {
...obj,
name: `Spatial landmark #${idx}`,
properties: {}
}
})
}) })
this.store.dispatch({ this.store.dispatch({
type : UPDATE_SPATIAL_DATA, type : UPDATE_SPATIAL_DATA,
......
...@@ -27,5 +27,4 @@ ...@@ -27,5 +27,4 @@
</ng-template> </ng-template>
<ng-template #noKgID> <ng-template #noKgID>
kgID not specified.
</ng-template> </ng-template>
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment