Skip to content
Merged
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
14 changes: 7 additions & 7 deletions client/admin/settings/Section.js
Original file line number Diff line number Diff line change
Expand Up @@ -58,16 +58,16 @@ export function Section({ children, groupId, hasReset = true, help, sectionName,
<FieldGroup>
{editableSettings.map((setting) => <Setting key={setting._id} settingId={setting._id} sectionChanged={changed} />)}

{hasReset && canReset && <Button
children={t('Reset_section_settings')}
danger
data-section={sectionName}
ghost
onClick={handleResetSectionClick}
/>}

{children}
</FieldGroup>
{hasReset && canReset && <Button
children={t('Reset_section_settings')}
danger
marginBlockStart={'x16'}
data-section={sectionName}
onClick={handleResetSectionClick}
/>}
</Accordion.Item>;
}

Expand Down
2 changes: 1 addition & 1 deletion packages/rocketchat-i18n/i18n/en.i18n.json
Original file line number Diff line number Diff line change
Expand Up @@ -2962,7 +2962,7 @@
"Reset": "Reset",
"Reset_E2E_Key": "Reset E2E Key",
"Reset_password": "Reset password",
"Reset_section_settings": "Reset Section Settings",
"Reset_section_settings": "Reset Section to Default",
"Reset_Connection": "Reset Connection",
"Responding": "Responding",
"Response_description_pre": "If the handler wishes to post a response back into the channel, the following JSON should be returned as the body of the response:",
Expand Down