use correct installAddon method in embed cards
This commit is contained in:
parent
272d66632c
commit
b48981fc50
|
@ -133,7 +133,7 @@ class EmbeddedStoreCard extends React.Component {
|
|||
async install(id, filename) {
|
||||
try {
|
||||
const contents = await WebAPI.getAddonContents(id);
|
||||
this.props.installAddon(contents, filename);
|
||||
this.manager.installAddon(contents, filename);
|
||||
}
|
||||
catch (error) {
|
||||
Toasts.error(Strings.Store.downloadError.format({type: this.props.type}));
|
||||
|
|
Loading…
Reference in New Issue