Fix AppTile context menu not always showing up when it has options (#11358)
* Fix AppTile context menu not always showing up when it has options * Comment * Update snapshots
This commit is contained in:
committed by
GitHub
parent
05b88d99ed
commit
755f8d7ab0
@@ -134,8 +134,9 @@ export default class AppTile extends React.Component<IProps, IState> {
|
||||
private dispatcherRef?: string;
|
||||
private unmounted = false;
|
||||
|
||||
public constructor(props: IProps) {
|
||||
public constructor(props: IProps, context: ContextType<typeof MatrixClientContext>) {
|
||||
super(props);
|
||||
this.context = context; // XXX: workaround for lack of `declare` support on `public context!:` definition
|
||||
|
||||
// Tiles in miniMode are floating, and therefore not docked
|
||||
if (!this.props.miniMode) {
|
||||
|
||||
Reference in New Issue
Block a user