Formatting

This commit is contained in:
Pieter Vander Vennet 2022-12-08 03:01:08 +01:00
parent 420f24f76f
commit 809c0a1ddf
3 changed files with 4 additions and 4 deletions

View file

@ -441,8 +441,8 @@ class ImportInspector extends VariableUiElement {
}
// We only care about the properties here
let props: NoteProperties[] = notes["success"].features.map((f) => f.properties)
if(userDetails["uid"]){
props = props.filter(n => n.comments[0].uid === userDetails["uid"])
if (userDetails["uid"]) {
props = props.filter((n) => n.comments[0].uid === userDetails["uid"])
}
const perBatch: NoteState[][] = Array.from(
ImportInspector.SplitNotesIntoBatches(props).values()