Better support for widgets overriding their URLs
Move the URL processing into AppTile so that the widget can have a URL used for embedding in the page and a separate one for popping out into a browser.
This commit is contained in:
parent
78fd8e4569
commit
538147f7fa
6 changed files with 135 additions and 131 deletions
|
@ -160,11 +160,7 @@ export default createReactClass({
|
|||
|
||||
return (<AppTile
|
||||
key={app.id}
|
||||
id={app.id}
|
||||
eventId={app.eventId}
|
||||
url={app.url}
|
||||
name={app.name}
|
||||
type={app.type}
|
||||
app={app}
|
||||
fullWidth={arr.length<2 ? true : false}
|
||||
room={this.props.room}
|
||||
userId={this.props.userId}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue