mirror of
https://github.com/mastodon/mastodon.git
synced 2024-12-22 22:15:23 +01:00
Ensure unfilled fields are shown when errors are shown (#7523)
Fix #7486
This commit is contained in:
parent
b48a166c82
commit
7293b9fc61
1 changed files with 1 additions and 0 deletions
|
@ -20,6 +20,7 @@ class Settings::ProfilesController < ApplicationController
|
|||
ActivityPub::UpdateDistributionWorker.perform_async(@account.id)
|
||||
redirect_to settings_profile_path, notice: I18n.t('generic.changes_saved_msg')
|
||||
else
|
||||
@account.build_fields
|
||||
render :show
|
||||
end
|
||||
end
|
||||
|
|
Loading…
Reference in a new issue