Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
E
ELC_elections
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
gestion-des-assemblees
ELC_elections
Merge requests
!26
Resolve "Handle parties"
Code
Review changes
Check out branch
Download
Patches
Plain diff
Merged
Resolve "Handle parties"
33-handle-parties
into
master
Overview
0
Commits
5
Pipelines
1
Changes
2
Merged
Alexis POYEN
requested to merge
33-handle-parties
into
master
4 years ago
Overview
0
Commits
5
Pipelines
1
Changes
2
Expand
Closes
#33 (closed)
0
0
Merge request reports
Viewing commit
6d3de9b7
Prev
Next
Show latest version
2 files
+
0
−
8
Inline
Compare changes
Side-by-side
Inline
Show whitespace changes
Show one file at a time
Files
2
Search (e.g. *.vue) (Ctrl+P)
6d3de9b7
Remove : useless var current_user
· 6d3de9b7
Alexis Poyen
authored
4 years ago
web/components/management/genericElection.js
+
0
−
4
Options
@@ -7,9 +7,6 @@ import * as Desks from "/components/management/desk.js";
// DOM elements
// local variables
let
current_user
;
export
async
function
mount
(
where
)
{
const
genericElectionComponent
=
new
GenericElection
();
await
genericElectionComponent
.
mount
(
where
);
@@ -42,7 +39,6 @@ class GenericElection {
<div class="modal" id="section-modal"></div>
<div class="modal" id="desk-modal"></div>
`
;
current_user
=
await
Auth
.
GetUser
();
this
.
electionHandler
=
await
Election
.
mount
(
"
election
"
,
this
);
this
.
areaHandler
=
await
Areas
.
mount
(
"
areas
"
,
this
);
this
.
sectionHandler
=
await
Sections
.
mount
(
"
sections
"
,
this
);
Loading