Skip to content

Commit 3191fc2

Browse files
committed
add CAMERAACCESSDENIED to switch case
1 parent e2e3e31 commit 3191fc2

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

app/pods/contests/contest/attempt/controller.js

+7
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,13 @@ export default class AttemptController extends Controller{
4040
}
4141
})
4242
break;
43+
case "CAMERAACCESSDENIED":
44+
this.transitionToRoute('contests.contest', this.contest.id, {
45+
queryParams: {
46+
monitorerError: detail.code
47+
}
48+
})
49+
break;
4350
}
4451
}
4552

0 commit comments

Comments
 (0)