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
Commits
a7bfb663
Commit
a7bfb663
authored
5 years ago
by
Lukas Mauß
Browse files
Options
Downloads
Patches
Plain Diff
Sort room-list by names
parent
a7094a7a
Branches
Branches containing commit
1 merge request
!397
Fix account-deletion dialog
Pipeline
#30327
passed with stages
in 7 minutes and 45 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
src/app/components/shared/_dialogs/delete-account/delete-account.component.ts
+8
-0
8 additions, 0 deletions
...hared/_dialogs/delete-account/delete-account.component.ts
with
8 additions
and
0 deletions
src/app/components/shared/_dialogs/delete-account/delete-account.component.ts
+
8
−
0
View file @
a7bfb663
...
...
@@ -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
;
}
}
This diff is collapsed.
Click to expand it.
Preview
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment