Skip to content
Snippets Groups Projects
Commit 04e47df6 authored by Ruben Bimberg's avatar Ruben Bimberg :computer:
Browse files

Correct order of option buttons

[Ticket: #155]
parent 9036b9a7
No related merge requests found
......@@ -200,7 +200,7 @@
</ng-container>
<!-- Session -->
<ng-container *ngIf="!router.url.endsWith('/comments') && !router.url.includes('/comment/')">
<ng-container *ngIf="!router.url.endsWith('/comments') && !router.url.includes('/comment/') && !router.url.endsWith('tagcloud')">
<!-- app-room-participant-page -->
<ng-container *ngIf="router.url.includes('/participant/room/')">
......@@ -241,7 +241,7 @@
<!-- Room General Options - bot -->
<ng-container
*ngIf="user && user.role == 3 && !router.url.includes('/participant') && !router.url.includes('/comment/')">
*ngIf="user && user.role == 3 && !router.url.includes('/participant') && !router.url.includes('/comment/') && !router.url.endsWith('tagcloud')">
<button mat-menu-item
*ngIf="user"
......
......@@ -119,6 +119,9 @@ export class RoomDataService {
getRoomData(roomId: string, freezed: boolean = false): Observable<Comment[]> {
const tempSubject = new BehaviorSubject<Comment[]>(null);
if (this._currentRoomId !== roomId) {
this._commentUpdates.next(null);
}
const subscription = this._commentUpdates.subscribe(comments => {
if (comments === null) {
return;
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment