fix: avoid rendering crash when changing privacy settings sometimes
This commit is contained in:
		@@ -97,7 +97,7 @@
 | 
			
		||||
</Row>
 | 
			
		||||
<div class="my-2 description" bind:this={descriptionElement}>
 | 
			
		||||
    <b>Description:</b><br />
 | 
			
		||||
    {@html htmlDescription}
 | 
			
		||||
    {@html htmlDescription && htmlDescription}
 | 
			
		||||
</div>
 | 
			
		||||
{#if (group.banner && ((settings && settings.appearance.banner_bottom) || !settings))}
 | 
			
		||||
<img src={group.banner} alt="your system banner" class="w-100 mb-3 rounded" style="max-height: 12em; object-fit: cover"/>
 | 
			
		||||
 
 | 
			
		||||
@@ -137,7 +137,7 @@
 | 
			
		||||
    </Row>
 | 
			
		||||
    <div class="my-2 mb-3 description" bind:this={descriptionElement}>
 | 
			
		||||
        <b>Description:</b><br />
 | 
			
		||||
        {@html htmlDescription}
 | 
			
		||||
        {@html htmlDescription && htmlDescription}
 | 
			
		||||
    </div>
 | 
			
		||||
    {#if (member.banner && ((settings && settings.appearance.banner_bottom) || !settings))}
 | 
			
		||||
    <img src={member.banner} alt="your system banner" class="w-100 mb-3 rounded" style="max-height: 17em; object-fit: cover"/>
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user