Skip to content

Commit

Permalink
fix issue #351 (#355)
Browse files Browse the repository at this point in the history
  • Loading branch information
edulix committed Apr 4, 2023
1 parent 297bc89 commit 1e75abc
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions avAdmin/admin-directives/dashboard/dashboard.js
Original file line number Diff line number Diff line change
Expand Up @@ -979,6 +979,14 @@ angular.module('avAdmin')
(
scope.perms.val.indexOf("start") !== -1 ||
scope.perms.val.indexOf("edit") !== -1
) &&
(
!scope.election.presentation ||
!scope.election.presentation.election_board_ceremony ||
(
!!scope.election.trusteeKeysState &&
scope.election.trusteeKeysState.every(function (e) { return e.state === 'deleted'; })
)
)
);
}
Expand Down

0 comments on commit 1e75abc

Please sign in to comment.