From 3f1c35d71c33eb90ca2924a06200f071f17ffaea Mon Sep 17 00:00:00 2001 From: Dariusz Niemczyk Date: Thu, 19 Aug 2021 19:26:19 +0200 Subject: [PATCH] Fix backdrop panel empty image --- src/components/structures/BackdropPanel.tsx | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/src/components/structures/BackdropPanel.tsx b/src/components/structures/BackdropPanel.tsx index 2dd4b18fb9..5f94692fc7 100644 --- a/src/components/structures/BackdropPanel.tsx +++ b/src/components/structures/BackdropPanel.tsx @@ -140,12 +140,13 @@ export default class BackdropPanel extends React.PureComponent { public render() { if (!this.props.backgroundImage) return null; return
- - } + + { this.state?.lpImage !== 'data:,' && + src={this.state.lpImage} /> }