Publish button: use spinner instead of "Publishing..."

Looks better, plus the preview could take a while sometimes.
This commit is contained in:
infinite-persistence 2021-11-05 12:00:18 +08:00
parent 263c09500f
commit 236e2cfe8e
No known key found for this signature in database
GPG key ID: B9C3252EDC3D0AA0
2 changed files with 1 additions and 2 deletions

View file

@ -1430,7 +1430,6 @@
"Log in to %SITE_NAME%": "Log in to %SITE_NAME%",
"Log in": "Log in",
"Not Yet": "Not Yet",
"Preparing...": "Preparing...",
"Confirm Upload": "Confirm Upload",
"Confirm Edit": "Confirm Edit",
"Create Livestream": "Create Livestream",

View file

@ -325,7 +325,7 @@ function PublishForm(props: Props) {
submitLabel = __('Uploading...');
}
} else if (previewing) {
submitLabel = __('Preparing...');
submitLabel = <Spinner type="small" />;
} else {
if (isStillEditing) {
submitLabel = __('Save');