mirror of
https://github.com/hexastack/hexabot
synced 2025-06-26 18:27:28 +00:00
fix(frontend): apply feedback
This commit is contained in:
@@ -157,7 +157,7 @@ export const NlpValueForm: FC<ComponentFormProps<INlpValue, INlpEntity>> = ({
|
||||
helperText={errors.metadata?.pattern?.message}
|
||||
error={!!errors.metadata?.pattern}
|
||||
label={t("label.regex")}
|
||||
placeholder={t("label.pattern")}
|
||||
placeholder={t("placeholder.pattern")}
|
||||
flags={["i"]}
|
||||
/>
|
||||
</ContentItem>
|
||||
|
||||
@@ -177,7 +177,7 @@ export const ProfileForm: FC<ProfileFormProps> = ({ user }) => {
|
||||
</ContentItem>
|
||||
<ContentItem>
|
||||
<PasswordInput
|
||||
label={t("placeholder.password")}
|
||||
label={t("label.password")}
|
||||
{...register("password", validationRules.password)}
|
||||
required
|
||||
error={!!errors.password}
|
||||
|
||||
@@ -118,7 +118,7 @@ const SettingInput: React.FC<RenderSettingInputProps> = ({
|
||||
entity={EntityType.BLOCK}
|
||||
format={Format.BASIC}
|
||||
labelKey="name"
|
||||
label={t("help.fallback_message")}
|
||||
label={t("label.fallback_message")}
|
||||
helperText={t("help.fallback_message")}
|
||||
multiple={false}
|
||||
onChange={(_e, selected, ..._) => onChange(selected?.id || "")}
|
||||
|
||||
@@ -76,7 +76,7 @@ export const EditUserForm: FC<ComponentFormProps<IUser, IRole[]>> = ({
|
||||
<ContentItem>
|
||||
<Input
|
||||
disabled
|
||||
label={t("placeholder.full_name")}
|
||||
label={t("label.full_name")}
|
||||
value={user ? getFullName(user) : undefined}
|
||||
InputProps={{
|
||||
readOnly: true,
|
||||
|
||||
Reference in New Issue
Block a user