From fa19570c36ee1f52b789f5d516d700fc1d1e2de2 Mon Sep 17 00:00:00 2001 From: David Ralph Date: Mon, 3 May 2021 15:39:34 +0100 Subject: [PATCH] fix: various marketplace fixes --- .../modals/main/marketplace/sections/Marketplace.jsx | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/components/modals/main/marketplace/sections/Marketplace.jsx b/src/components/modals/main/marketplace/sections/Marketplace.jsx index 0f5ee61d..e89fb449 100644 --- a/src/components/modals/main/marketplace/sections/Marketplace.jsx +++ b/src/components/modals/main/marketplace/sections/Marketplace.jsx @@ -56,7 +56,7 @@ export default class Marketplace extends React.PureComponent { this.setState({ item: { - type: this.props.type, + type: info.data.type, display_name: info.data.name, author: info.data.author, description: MarketplaceFunctions.urlParser(info.data.description.replace(/\n/g, '
')), @@ -123,6 +123,8 @@ export default class Marketplace extends React.PureComponent { this.setState({ items: items }); + + this.forceUpdate(); } componentDidMount() {