fix(ui): feature flag strings fixes

This commit is contained in:
nick-delirium 2023-06-26 13:16:27 +02:00
parent 9dd7d7f845
commit c157154294
2 changed files with 3 additions and 3 deletions

View file

@ -94,7 +94,7 @@ function Multivariant() {
</div>
<div style={{ flex: 4 }}>
<Input
placeholder={"E.g. very important button, {'buttonColor': 'red'}"}
placeholder={"E.g. red button, {'buttonColor': 'red'}"}
value={variant.payload}
onChange={(e: React.ChangeEvent<HTMLInputElement>) =>
variant.setPayload(e.target.value)

View file

@ -149,7 +149,7 @@ function NewFFlag({ siteId, fflagId }: { siteId: string; fflagId?: string }) {
<div className={'mt-6'}>
<Payload />
<Input
placeholder={"E.g. very important button, {'buttonColor': 'red'}"}
placeholder={"E.g. red button, {'buttonColor': 'red'}"}
className={'mt-2'}
/>
</div>
@ -199,7 +199,7 @@ function NewFFlag({ siteId, fflagId }: { siteId: string; fflagId?: string }) {
show={current.conditions.length === 0}
title={'The flag will be available for 100% of the user sessions.'}
subtext={
<div className={'flex flex-col items-center'}>
<div className={'flex flex-col items-center'} style={{ fontSize: 14 }}>
<div className={'text-sm mb-1'}>
Set up condition sets to restrict the rollout.
</div>