Spaces:
Sleeping
Sleeping
Update stateManager.js
Browse files- stateManager.js +1 -1
stateManager.js
CHANGED
|
@@ -35,7 +35,7 @@ export const StateManager = {
|
|
| 35 |
// FLATTEN DB STRUCTURE -> MEMORY STRUCTURE
|
| 36 |
const memoryObject = {
|
| 37 |
...dbData.info, // Title, stats, description
|
| 38 |
-
thumbnail: dbData.thumbnail || null,
|
| 39 |
// State might be undefined if just created, so default it
|
| 40 |
commandQueue: dbData.state?.commandQueue || [],
|
| 41 |
workerHistory: dbData.state?.workerHistory || [],
|
|
|
|
| 35 |
// FLATTEN DB STRUCTURE -> MEMORY STRUCTURE
|
| 36 |
const memoryObject = {
|
| 37 |
...dbData.info, // Title, stats, description
|
| 38 |
+
thumbnail: dbData.thumbnail?.url || null,
|
| 39 |
// State might be undefined if just created, so default it
|
| 40 |
commandQueue: dbData.state?.commandQueue || [],
|
| 41 |
workerHistory: dbData.state?.workerHistory || [],
|