mirror of
https://github.com/discourse/discourse.git
synced 2025-01-18 20:52:46 +08:00
FIX: Use the view's container if available
This commit is contained in:
parent
d57adfed02
commit
740eec3d15
|
@ -21,7 +21,7 @@ export default class Connector {
|
|||
}
|
||||
|
||||
const view = Ember.View.create({
|
||||
container: widget.register,
|
||||
container: mounted.container || widget.register,
|
||||
templateName: opts.templateName,
|
||||
context
|
||||
});
|
||||
|
|
Loading…
Reference in New Issue
Block a user