Skip to content

Commit 91efb0f

Browse files
committed
fix: addEmptyOutputsEmberState didn't reinsert state from file
1 parent 1457184 commit 91efb0f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/server/utils/storage.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -115,7 +115,7 @@ const addEmptyOutputsEmberState = (settings: ISettings, state: IEmberState): IEm
115115
// Insert existing outputs:
116116
state.kaleidoOutputsState.forEach((outputState, index) => {
117117
if (outputState.labelAndTallyState.length <= defaultLabelAndTallyState.length) {
118-
data.kaleidoOutputsState[index].labelAndTallyState = defaultLabelAndTallyState;
118+
data.kaleidoOutputsState[index] = outputState;
119119
}
120120
});
121121

0 commit comments

Comments
 (0)