File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
src/components/workspace/elements Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -56,7 +56,7 @@ const Seat: React.FC<ISeatProps> = forwardRef(
5656 [ sections , categoryObject ]
5757 ) ;
5858
59- const showLabel = ! airplaneMode && ( consumer . options ?. showSeatLabels ?? true ) ;
59+ const showLabel = consumer . options ?. showSeatLabels ?? true ;
6060
6161 const consumerSeatStatusColors = consumer . styles ?. elements ?. seat ?. statusColors ;
6262
@@ -170,7 +170,7 @@ const Seat: React.FC<ISeatProps> = forwardRef(
170170 onClick = { localOnClick }
171171 { ...props }
172172 { ...{ [ dataAttributes . elementType ] : undefined } }
173- className = { twMerge ( props . className , "unselectable !stroke-1" ) }
173+ className = { twMerge ( props . className , "unselectable !stroke-1" , airplaneMode && "hidden" ) }
174174 >
175175 { label }
176176 </ text >
You can’t perform that action at this time.
0 commit comments