💄 put save org settings button into the form

This commit is contained in:
Fred KISSIE
2025-12-15 23:36:13 +01:00
parent 9125a7bccb
commit 872bb557c2

View File

@@ -832,13 +832,8 @@ export default function GeneralPage() {
</SettingsSectionBody> </SettingsSectionBody>
</> </>
)} )}
</SettingsSection>
</form>
</Form>
{build === "saas" && <AuthPageSettings ref={authPageSettingsRef} />} <div className="flex justify-end gap-2 mt-4">
<div className="flex justify-end gap-2">
<Button <Button
type="submit" type="submit"
form="org-settings-form" form="org-settings-form"
@@ -848,6 +843,11 @@ export default function GeneralPage() {
{t("saveSettings")} {t("saveSettings")}
</Button> </Button>
</div> </div>
</SettingsSection>
</form>
</Form>
{build === "saas" && <AuthPageSettings ref={authPageSettingsRef} />}
{build !== "saas" && ( {build !== "saas" && (
<SettingsSection> <SettingsSection>