Skip to content

Commit 8edcb21

Browse files
authored
Fix CFS : define params (#3036)
1 parent b1658f4 commit 8edcb21

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

app/routes/public/cfs/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ export default Route.extend({
66
},
77

88
async beforeModel(transition) {
9-
let hash = transition.params['public.cfs'].speaker_call_hash;
9+
let hash = transition.to.params['public.cfs'] ? transition.to.params['public.cfs'].speaker_call_hash : null;
1010
const eventDetails = this.modelFor('public');
1111
const speakersCall = await eventDetails.get('speakersCall');
1212
/*

0 commit comments

Comments
 (0)