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
6dff6374
There was a problem fetching the latest pipeline status.
Commit
6dff6374
authored
7 years ago
by
Thomas Lenz
Browse files
Options
Downloads
Patches
Plain Diff
Include progress-spinner into creator-room component.
parent
fbd9cd5c
No related merge requests found
Pipeline
#13148
passed with stage
in 34 seconds
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
src/app/creator-room/creator-room.component.html
+1
-0
1 addition, 0 deletions
src/app/creator-room/creator-room.component.html
src/app/room/room.component.ts
+5
-1
5 additions, 1 deletion
src/app/room/room.component.ts
with
6 additions
and
1 deletion
src/app/creator-room/creator-room.component.html
+
1
−
0
View file @
6dff6374
<div
fxLayout=
"column"
fxLayoutAlign=
"start"
fxLayoutGap=
"20px"
fxFill
>
<div
fxLayout=
"row"
fxLayoutAlign=
"center"
>
<mat-progress-spinner
*ngIf=
"isLoading"
mode=
"indeterminate"
></mat-progress-spinner>
<mat-card
*ngIf=
"room"
>
<mat-card-header>
<mat-card-title><h3
class=
"subheading-2"
>
{{ room.name }}
</h3></mat-card-title>
...
...
This diff is collapsed.
Click to expand it.
src/app/room/room.component.ts
+
5
−
1
View file @
6dff6374
...
...
@@ -10,6 +10,7 @@ import { ActivatedRoute } from '@angular/router';
})
export
class
RoomComponent
implements
OnInit
{
room
:
Room
=
null
;
isLoading
=
true
;
constructor
(
protected
roomService
:
RoomService
,
protected
route
:
ActivatedRoute
)
{
...
...
@@ -22,6 +23,9 @@ export class RoomComponent implements OnInit {
}
getRoom
(
id
:
string
):
void
{
this
.
roomService
.
getRoom
(
id
).
subscribe
(
room
=>
this
.
room
=
room
);
this
.
roomService
.
getRoom
(
id
).
subscribe
(
room
=>
{
this
.
room
=
room
;
this
.
isLoading
=
false
;
});
}
}
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