mirror of
https://github.com/SlimeVR/SlimeVR-Server.git
synced 2026-11-21 09:31:20 -08:00
Fix steps id
This commit is contained in:
1 parent
1775d54bf1
commit
94e34ca3af
1 file changed
+2
-2
@@ -23,9 +23,9 @@ class TrackingChecklistBehaviour(
|
||||
.toSet()
|
||||
|
||||
private fun buildResponse(): TrackingChecklistResponse {
|
||||
val state = checklist.context.state.value
|
||||
val steps = checklist.context.state.value.steps.mapValues { it.value.copy(id = it.key) }.values.toList()
|
||||
return TrackingChecklistResponse(
|
||||
steps = state.steps.values.toList(),
|
||||
steps = steps,
|
||||
ignoredSteps = parseMutedSteps().toList(),
|
||||
)
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user