Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion frontend/web/components/CompareEnvironments.js
Original file line number Diff line number Diff line change
Expand Up @@ -313,6 +313,7 @@ class CompareEnvironments extends Component {
<FeatureRow
condensed
isCompareEnv
className='border-left-1 ps-2'
fadeEnabled={fadeEnabled}
fadeValue={fadeValue}
history={this.props.history}
Expand Down Expand Up @@ -390,7 +391,7 @@ class CompareEnvironments extends Component {
</div>
<Flex className='table-column'></Flex>
</Flex>
<Flex className='flex-row'>
<Flex className='flex-row border-left-1 ps-2'>
<div
className='table-column'
style={{ width: '80px' }}
Expand Down
21 changes: 10 additions & 11 deletions frontend/web/components/CondensedFeatureRow.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -74,17 +74,6 @@ const CondensedFeatureRow: React.FC<CondensedFeatureRowProps> = ({
</div>
<Flex className='table-column clickable'>
<Row>
<div
onClick={() => permission && !readOnly && editFeature()}
style={{ flex: 1 }}
className={`overflow-hidden ${fadeValue ? 'faded' : ''}`}
>
<FeatureValue
value={environmentFlags?.[id]?.feature_state_value ?? null}
data-test={`feature-value-${index}`}
/>
</div>

<SegmentOverridesIcon
onClick={(e) => {
e.stopPropagation()
Expand All @@ -100,6 +89,16 @@ const CondensedFeatureRow: React.FC<CondensedFeatureRowProps> = ({
count={projectFlag.num_identity_overrides}
showPlusIndicator={showPlusIndicator}
/>
<div
onClick={() => permission && !readOnly && editFeature()}
style={{ flex: 1 }}
className={`overflow-hidden ${fadeValue ? 'faded' : ''}`}
>
<FeatureValue
value={environmentFlags?.[id]?.feature_state_value ?? null}
data-test={`feature-value-${index}`}
/>
</div>
</Row>
</Flex>
</Flex>
Expand Down
Loading