Skip to content

Commit 66f382a

Browse files
Merge pull request #11823 from google/enhancement/11064-tagmanager-confirm-changes-button-to-save
Prevent "Confirm changes" button prematurely changing to "Save"
2 parents 72704b9 + 72a85f9 commit 66f382a

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)