You've already forked matrix-react-sdk
mirror of
https://github.com/matrix-org/matrix-react-sdk.git
synced 2025-11-04 11:51:45 +03:00
Fix backdrop panel empty image
This commit is contained in:
@@ -140,12 +140,13 @@ export default class BackdropPanel extends React.PureComponent<IProps, IState> {
|
|||||||
public render() {
|
public render() {
|
||||||
if (!this.props.backgroundImage) return null;
|
if (!this.props.backgroundImage) return null;
|
||||||
return <div className="mx_BackdropPanel">
|
return <div className="mx_BackdropPanel">
|
||||||
<img
|
{ this.state?.llpImage !== 'data:,' && <img
|
||||||
className="mx_BackdropPanel--canvas"
|
className="mx_BackdropPanel--canvas"
|
||||||
src={this.state.llpImage} />
|
src={this.state.llpImage} /> }
|
||||||
<img
|
|
||||||
|
{ this.state?.lpImage !== 'data:,' && <img
|
||||||
className="mx_BackdropPanel--canvas"
|
className="mx_BackdropPanel--canvas"
|
||||||
src={this.state.lpImage} />
|
src={this.state.lpImage} /> }
|
||||||
<canvas
|
<canvas
|
||||||
ref={this.leftLeftPanelRef}
|
ref={this.leftLeftPanelRef}
|
||||||
className="mx_BackdropPanel--canvas"
|
className="mx_BackdropPanel--canvas"
|
||||||
|
|||||||
Reference in New Issue
Block a user