Create name/title Widget utils

This commit is contained in:
Michael Telatynski 2020-08-28 10:50:27 +01:00
parent 11e349d6c8
commit 2527344294
4 changed files with 14 additions and 2 deletions

View file

@ -76,7 +76,7 @@ export default class PersistentApp extends React.Component {
userId={MatrixClientPeg.get().credentials.userId}
show={true}
creatorUserId={app.creatorUserId}
widgetPageTitle={(app.data && app.data.title) ? app.data.title : ''}
widgetPageTitle={WidgetUtils.getWidgetDataTitle(app)}
waitForIframeLoad={app.waitForIframeLoad}
whitelistCapabilities={capWhitelist}
showDelete={false}