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:
parent
05b88d99ed
commit
755f8d7ab0
2 changed files with 41 additions and 1 deletions
|
@ -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) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue