Fix back button appearing in column header unexpectedly in web UI (#29551)
This commit is contained in:
		
							parent
							
								
									95a5713ff7
								
							
						
					
					
						commit
						30483d618f
					
				| @ -199,7 +199,7 @@ class ColumnHeader extends PureComponent { | |||||||
|         <h1 className={buttonClassName}> |         <h1 className={buttonClassName}> | ||||||
|           {hasTitle && ( |           {hasTitle && ( | ||||||
|             <> |             <> | ||||||
|               {backButton} |               {showBackButton && backButton} | ||||||
| 
 | 
 | ||||||
|               <button onClick={this.handleTitleClick} className='column-header__title'> |               <button onClick={this.handleTitleClick} className='column-header__title'> | ||||||
|                 {!showBackButton && <Icon id={icon} icon={iconComponent} className='column-header__icon' />} |                 {!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'> |           <div className='column-header__buttons'> | ||||||
|             {extraButton} |             {extraButton} | ||||||
|  | |||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user