Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
A
arsnova-lite
Manage
Activity
Members
Labels
Plan
Issues
24
Issue boards
Milestones
Wiki
Code
Merge requests
2
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Help
Help
Support
GitLab documentation
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Privacy
Imprint
Contact
Snippets
Groups
Projects
Show more breadcrumbs
ARSnova
arsnova-lite
Merge requests
!397
Fix account-deletion dialog
Code
Review changes
Check out branch
Download
Patches
Plain diff
Merged
Fix account-deletion dialog
400-the-session-dialog-is-not-scrollable
into
master
Overview
1
Commits
3
Pipelines
3
Changes
5
Merged
Lukas Mauß
requested to merge
400-the-session-dialog-is-not-scrollable
into
master
5 years ago
Overview
1
Commits
3
Pipelines
3
Changes
1
Expand
Solves scrolling problems
Show sessions as bullet list
Sort list by session name
Closes
#400 (closed)
,
#399 (closed)
,
#398 (closed)
Edited
5 years ago
by
Lukas Mauß
0
0
Merge request reports
Compare
version 2
version 2
a7094a7a
5 years ago
version 1
2a50e303
5 years ago
master (base)
and
latest version
latest version
a7bfb663
3 commits,
5 years ago
version 2
a7094a7a
2 commits,
5 years ago
version 1
2a50e303
1 commit,
5 years ago
Show latest version
1 file
+
8
−
0
Expand all files
Inline
Compare changes
Side-by-side
Inline
Show whitespace changes
Show one file at a time
src/app/components/shared/_dialogs/delete-account/delete-account.component.ts
+
8
−
0
Options
@@ -20,10 +20,18 @@ export class DeleteAccountComponent implements OnInit {
ngOnInit
()
{
this
.
roomService
.
getCreatorRooms
().
subscribe
(
rooms
=>
{
this
.
rooms
=
rooms
;
this
.
sortRooms
();
});
}
close
(
type
:
string
):
void
{
this
.
dialogRef
.
close
(
type
);
}
sortRooms
()
{
const
roomList
=
this
.
rooms
.
sort
((
a
,
b
)
=>
{
return
a
.
name
>
b
.
name
?
1
:
-
1
;
});
this
.
rooms
=
roomList
;
}
}