Skip to content
This repository was archived by the owner on Dec 27, 2022. It is now read-only.

Commit a71adbb

Browse files
committed
Remove uuid from preview link after publish
1 parent 9ca3ff2 commit a71adbb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

js/customize-snapshots.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -236,7 +236,7 @@
236236
}
237237
}, savedDelay );
238238

239-
api.state( 'snapshot-exists' ).set( true );
239+
api.state( 'snapshot-exists' ).set( ! isPublishStatus );
240240

241241
snapshot.statusButton.disableSelect.set( isPublishStatus );
242242
snapshot.statusButton.disbleButton.set( true );

0 commit comments

Comments
 (0)