Skip to content

ActivityPub-federated video streaming platform using P2P directly in your web browser

Only display "upload video" in the menu if the user is logged in

Chocobozzz0dde91ff15ec
diff --git a/client/angular/app/app.component.html b/client/angular/app/app.component.html
index 647697a0a6..9f917e41fe 100644
--- a/client/angular/app/app.component.html
+++ b/client/angular/app/app.component.html
@@ -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>