Skip to content

Commit bd486c0

Browse files
committed
refactor: set activity before modal open
1 parent ab2bfa0 commit bd486c0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/blocks/SourceList/SourceList.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -201,11 +201,11 @@ export class SourceList extends LitUploaderBlock {
201201
return;
202202
}
203203

204-
this.modalManager?.open(activityId);
205204
this.set$({
206205
'*currentActivityParams': params,
207206
'*currentActivity': activityId,
208207
});
208+
this.modalManager?.open(activityId);
209209
}
210210

211211
public override render() {

0 commit comments

Comments
 (0)