Skip to content

Commit 72a85f9

Browse files
committed
Prevent "Confirm changes" button prematurely changing to "Save" on save.
1 parent 8c023da commit 72a85f9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

assets/js/components/settings/SettingsActiveModule/FooterPrimaryAction.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ export default function FooterPrimaryAction( {
7171
isSaving={ isSaving }
7272
>
7373
{ ( () => {
74-
if ( haveSettingsChanged ) {
74+
if ( haveSettingsChanged || isSaving ) {
7575
return __(
7676
'Confirm changes',
7777
'google-site-kit'

0 commit comments

Comments
 (0)