Skip to content

Commit

Permalink
or preview
Browse files Browse the repository at this point in the history
  • Loading branch information
Findeton committed Jul 10, 2023
1 parent e34d759 commit bae7e93
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -161,7 +161,7 @@ angular.module('avBooth')
.childrenElectionInfo
.natural_order;
// If it's a demo booth, do not rely on election credentials
if (scope.isDemo) {
if (scope.isDemo || scope.isPreview) {
scope.increaseDemoElectionIndex();
if (scope.demoElectionIndex < orderedElectionIds.length) {
chooseElection(
Expand Down

0 comments on commit bae7e93

Please sign in to comment.