|
|
|
@ -198,6 +198,13 @@ export class MusicRequestsComponent implements OnInit {
|
|
|
|
|
this.loadInit();
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
public isRequestUser(request: IAlbumRequest) {
|
|
|
|
|
if (request.requestedUser.userName === this.auth.claims().name) {
|
|
|
|
|
return true;
|
|
|
|
|
}
|
|
|
|
|
return false;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
// public subscribe(request: IAlbumRequest) {
|
|
|
|
|
// request.subscribed = true;
|
|
|
|
|
// this.requestService.subscribeToMovie(request.id)
|
|
|
|
@ -349,10 +356,4 @@ export class MusicRequestsComponent implements OnInit {
|
|
|
|
|
("url(" + req.cover + ")");
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
public isRequestUser(request: IAlbumRequest) {
|
|
|
|
|
if (request.requestedUser.userName === this.auth.claims().name) {
|
|
|
|
|
return true;
|
|
|
|
|
}
|
|
|
|
|
return false;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|