Merge pull request #2061 from ecency/nt/duplicate-post-fix

Nt - Permlink Duplication
This commit is contained in:
Feruz M 2021-09-10 22:25:37 +03:00 committed by GitHub
commit 4ad33e1644
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -601,7 +601,7 @@ class EditorContainer extends Component {
dublicatePost = null;
}
if (dublicatePost && dublicatePost.id) {
if (dublicatePost && (dublicatePost.permlink === permlink)) {
permlink = generatePermlink(fields.title, true);
}