We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent cf73d10 commit f081022Copy full SHA for f081022
1 file changed
apps/webapp/app/components/admin/FeatureFlagsDialog.tsx
@@ -158,11 +158,13 @@ export function FeatureFlagsDialog({
158
</div>
159
160
<div className="flex items-center gap-2">
161
- {isOverridden && (
162
- <Button variant="minimal/small" onClick={() => unsetFlag(key)}>
163
- unset
164
- </Button>
165
- )}
+ <Button
+ variant="minimal/small"
+ onClick={() => unsetFlag(key)}
+ className={cn(!isOverridden && "invisible")}
+ >
166
+ unset
167
+ </Button>
168
169
{control.type === "boolean" && (
170
<BooleanControl
0 commit comments