use correct installAddon method in embed cards

This commit is contained in:
Tropical 2022-09-03 13:58:53 -05:00
parent 272d66632c
commit b48981fc50
1 changed files with 1 additions and 1 deletions

View File

@ -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}));