fix(hp): Fails to display any layouts in the layout selector if first layout has multiple stages (#4058)
This commit is contained in:
1 parent
65d419dd52
commit
f0ed3fd7b9
2 files changed
+24
-18
No files matched your search
@@ -1107,6 +1107,7 @@ export default class HangingProtocolService extends PubSubService {
|
||||
if (this.protocol.id !== protocolId) {
|
||||
console.warn('setting protocol');
|
||||
this.protocol = this.getProtocolById(protocolId);
|
||||
this.stageIndex = 0;
|
||||
}
|
||||
const protocol = this.protocol;
|
||||
const stage = protocol.stages[stageIdx];
|
||||
|
||||
Reference in new issue
Block a user