Skip to content

Commit 7fcd50e

Browse files
committed
Only apply operation when live is loaded
1 parent 20f68a8 commit 7fcd50e

File tree

1 file changed

+9
-3
lines changed

1 file changed

+9
-3
lines changed

packages/app/src/app/store/modules/live/sequences.js

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -284,10 +284,16 @@ export const handleMessage = [
284284
},
285285
],
286286
operation: [
287-
isOwnMessage,
287+
state`live.isLoading`,
288288
{
289-
true: actions.acknowledgeOperation,
290-
false: actions.receiveTransformation,
289+
false: [
290+
isOwnMessage,
291+
{
292+
true: actions.acknowledgeOperation,
293+
false: actions.receiveTransformation,
294+
},
295+
],
296+
true: [],
291297
},
292298
],
293299
'connection-loss': [

0 commit comments

Comments
 (0)