We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8818139 commit 1399dd4Copy full SHA for 1399dd4
frontend/src/store/protocolState/index.ts
@@ -9,7 +9,10 @@ export const useProtocolStore = defineStore('protocol', {
9
},
10
actions: {
11
updateProtocol(protocol: ProtocolJson) {
12
- const entries = protocol.entry!
+ const entries = protocol.entry
13
+ if (!entries) {
14
+ return
15
+ }
16
if (protocol.delta) {
17
entries.reverse()
18
for (const entry of entries) {
0 commit comments