diff --git a/src/app/components/stream/status/action-bar/action-bar.component.html b/src/app/components/stream/status/action-bar/action-bar.component.html
index e67de27e..223ea7eb 100644
--- a/src/app/components/stream/status/action-bar/action-bar.component.html
+++ b/src/app/components/stream/status/action-bar/action-bar.component.html
@@ -27,11 +27,10 @@
-
-
+
+
-
+
Expand status
diff --git a/src/app/components/stream/status/action-bar/action-bar.component.ts b/src/app/components/stream/status/action-bar/action-bar.component.ts
index 0bac8ec1..fa15eb19 100644
--- a/src/app/components/stream/status/action-bar/action-bar.component.ts
+++ b/src/app/components/stream/status/action-bar/action-bar.component.ts
@@ -28,7 +28,7 @@ export class ActionBarComponent implements OnInit, OnDestroy {
faEllipsisH = faEllipsisH;
faLock = faLock;
- @ViewChild(ContextMenuComponent) public basicMenu: ContextMenuComponent;
+ @ViewChild(ContextMenuComponent) public contextMenu: ContextMenuComponent;
public items = [
{ name: 'John', otherProperty: 'Foo' },
{ name: 'Joe', otherProperty: 'Bar' }
@@ -241,12 +241,12 @@ export class ActionBarComponent implements OnInit, OnDestroy {
return false;
}
- public onContextMenu($event: MouseEvent, item: any): void {
+ public onContextMenu($event: MouseEvent): void {
this.contextMenuService.show.next({
// Optional - if unspecified, all context menu components will open
- contextMenu: this.basicMenu,
+ contextMenu: this.contextMenu,
event: $event,
- item: item,
+ item: null
});
$event.preventDefault();
$event.stopPropagation();