get screen type from app prop

pull/21833/head
Marco Süß 2020-08-03 16:26:25 +02:00
parent e9fcbfe3c8
commit 5b8a8ecc5e
1 changed files with 2 additions and 2 deletions

View File

@ -314,13 +314,13 @@ export default class AppTile extends React.Component {
if (SettingsStore.isFeatureEnabled("feature_many_integration_managers")) {
IntegrationManagers.sharedInstance().openAll(
this.props.room,
'type_' + this.props.type,
'type_' + this.props.app.type,
this.props.app.id,
);
} else {
IntegrationManagers.sharedInstance().getPrimaryManager().open(
this.props.room,
'type_' + this.props.type,
'type_' + this.props.app.type,
this.props.app.id,
);
}