diff options
author | 2023-02-06 09:19:56 +0100 | |
---|---|---|
committer | 2023-02-06 09:19:56 +0100 | |
commit | 47daddc10c291ec67320dd2485bffc498ea44bdf (patch) | |
tree | 530677541399c27cd292dfc0050a71273c35f098 /web/source/settings/admin/federation/import-export/index.jsx | |
parent | [chore]: Bump codeberg.org/gruf/go-runners from 1.4.0 to 1.5.1 (#1428) (diff) | |
download | gotosocial-47daddc10c291ec67320dd2485bffc498ea44bdf.tar.xz |
[chore/frogend] Restructure form data default values / update from Query data (#1422)
* eslint: set console use to error to catch debug littering in CI
* remove debug logging
* some form field restructuring, fixes submitted updates not being reflected
* more form field restructuring
* remove debug logger
* simplify field updates
* fix react state set during render when submitting import file
* className instead of class
* show Select hints again
Diffstat (limited to 'web/source/settings/admin/federation/import-export/index.jsx')
-rw-r--r-- | web/source/settings/admin/federation/import-export/index.jsx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/web/source/settings/admin/federation/import-export/index.jsx b/web/source/settings/admin/federation/import-export/index.jsx index 3039b98f3..ca55296f8 100644 --- a/web/source/settings/admin/federation/import-export/index.jsx +++ b/web/source/settings/admin/federation/import-export/index.jsx @@ -40,7 +40,7 @@ module.exports = function ImportExport() { exportType: useTextInput("exportType", { defaultValue: "plain", dontReset: true }) }; - const [submitParse, parseResult] = useFormSubmit(form, query.useProcessDomainListMutation()); + const [submitParse, parseResult] = useFormSubmit(form, query.useProcessDomainListMutation(), { changedOnly: false }); const [_location, setLocation] = useLocation(); |