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 8ba9283 commit 7859212Copy full SHA for 7859212
frontend/src/store/protocolState/index.ts
@@ -9,10 +9,7 @@ export const useProtocolStore = defineStore('protocol', {
9
},
10
actions: {
11
updateProtocol(protocol: ProtocolJson) {
12
- const entries = protocol.entry
13
- if (!entries) {
14
- return
15
- }
+ const entries = protocol.entry || []
16
if (protocol.delta) {
17
entries.reverse()
18
for (const entry of entries) {
0 commit comments