[Glitch] Fix back button appearing in column header unexpectedly in web UI
Port 30483d618f to glitch-soc
Signed-off-by: Claire <claire.github-309c@sitedethib.com>
			
			
This commit is contained in:
		
							parent
							
								
									84c7b272e1
								
							
						
					
					
						commit
						000a900d3b
					
				| 
						 | 
				
			
			@ -199,7 +199,7 @@ class ColumnHeader extends PureComponent {
 | 
			
		|||
        <h1 className={buttonClassName}>
 | 
			
		||||
          {hasTitle && (
 | 
			
		||||
            <>
 | 
			
		||||
              {backButton}
 | 
			
		||||
              {showBackButton && backButton}
 | 
			
		||||
 | 
			
		||||
              <button onClick={this.handleTitleClick} className='column-header__title'>
 | 
			
		||||
                {!showBackButton && <Icon id={icon} icon={iconComponent} className='column-header__icon' />}
 | 
			
		||||
| 
						 | 
				
			
			@ -208,7 +208,7 @@ class ColumnHeader extends PureComponent {
 | 
			
		|||
            </>
 | 
			
		||||
          )}
 | 
			
		||||
 | 
			
		||||
          {!hasTitle && backButton}
 | 
			
		||||
          {!hasTitle && showBackButton && backButton}
 | 
			
		||||
 | 
			
		||||
          <div className='column-header__buttons'>
 | 
			
		||||
            {extraButton}
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
		Reference in New Issue