mirror of
https://github.com/mue/mue.git
synced 2026-07-27 18:51:05 +02:00
fix things
This commit is contained in:
@@ -111,7 +111,7 @@ export default class Addons extends React.PureComponent {
|
||||
</div>)}
|
||||
</div>
|
||||
</div>
|
||||
<Item button={<button className='removeFromMue' onClick={() => this.uninstall()}>{this.props.language.product.buttons.remove}</button>} data={this.state.item_data} function={() => this.toggle()} language={this.props.language.product} />
|
||||
<Item button={<button className='removeFromMue' onClick={() => this.uninstall()}>{this.props.marketplaceLanguage.product.buttons.remove}</button>} data={this.state.item_data} function={() => this.toggle()} language={this.props.marketplaceLanguage.product} />
|
||||
</div>;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -143,7 +143,7 @@ export default class Marketplace extends React.PureComponent {
|
||||
installStuff();
|
||||
break;
|
||||
case 'quote_packs':
|
||||
if (this.state.current_data.content.data.quoteapi) localStorage.setItem('quote_api', JSON.stringify(this.state.current_data.content.data.quoteapi));
|
||||
if (this.state.current_data.content.data.quote_api) localStorage.setItem('quote_api', JSON.stringify(this.state.current_data.content.data.quote_api));
|
||||
localStorage.setItem('quote_packs', JSON.stringify(this.state.current_data.content.data.quotes));
|
||||
installStuff();
|
||||
break;
|
||||
|
||||
Reference in New Issue
Block a user