fix: Allow private note without selecting a tweet (#3754)

This commit is contained in:
Nithin David Thomas 2022-01-14 00:24:00 +05:30 committed by GitHub
parent 5046dcaf61
commit d57be3ffae
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -189,7 +189,7 @@ export default {
return this.maxLength - this.message.length;
},
isReplyButtonDisabled() {
if (this.isATweet && !this.inReplyTo) {
if (this.isATweet && !this.inReplyTo && !this.isOnPrivateNote) {
return true;
}