fix: ai translations description for atoms (#17875)
* remove ai translations description for atoms * PR feedback * fixup --------- Co-authored-by: Benny Joo <sldisek783@gmail.com> Co-authored-by: Somay Chauhan <somaychauhan98@gmail.com> Co-authored-by: Morgan <33722304+ThyMinimalDev@users.noreply.github.com>
This commit is contained in:
co-authored by
Benny Joo
Somay Chauhan
Morgan
parent
2e7a5a84a6
commit
fe209df2be
@@ -142,17 +142,19 @@ export const EventSetupTab = (
|
||||
</>
|
||||
)}
|
||||
</div>
|
||||
<div className="[&_label]:my-1 [&_label]:font-normal">
|
||||
<SettingsToggle
|
||||
title={t("translate_description_button")}
|
||||
checked={!!autoTranslateDescriptionEnabled}
|
||||
onCheckedChange={(value) => {
|
||||
formMethods.setValue("autoTranslateDescriptionEnabled", value, { shouldDirty: true });
|
||||
}}
|
||||
disabled={!orgId}
|
||||
tooltip={!orgId ? t("orgs_upgrade_to_enable_feature") : undefined}
|
||||
/>
|
||||
</div>
|
||||
{!isPlatform && (
|
||||
<div className="[&_label]:my-1 [&_label]:font-normal">
|
||||
<SettingsToggle
|
||||
title={t("translate_description_button")}
|
||||
checked={!!autoTranslateDescriptionEnabled}
|
||||
onCheckedChange={(value) => {
|
||||
formMethods.setValue("autoTranslateDescriptionEnabled", value, { shouldDirty: true });
|
||||
}}
|
||||
disabled={!orgId}
|
||||
tooltip={!orgId ? t("orgs_upgrade_to_enable_feature") : undefined}
|
||||
/>
|
||||
</div>
|
||||
)}
|
||||
<TextField
|
||||
required
|
||||
label={isPlatform ? "Slug" : t("URL")}
|
||||
|
||||
Reference in New Issue
Block a user