Only display "upload video" in the menu if the user is logged in
This commit is contained in:
parent
02b72dc7f4
commit
0dde91ff15
|
@ -31,7 +31,7 @@
|
|||
<a [routerLink]="['VideosList']">Get videos</a>
|
||||
</div>
|
||||
|
||||
<div id="panel_upload_video" class="panel_button">
|
||||
<div id="panel_upload_video" class="panel_button" *ngIf="isLoggedIn">
|
||||
<span class="glyphicon glyphicon-cloud-upload"></span>
|
||||
<a [routerLink]="['VideosAdd']">Upload a video</a>
|
||||
</div>
|
||||
|
|
Loading…
Reference in New Issue