1
0
mirror of https://github.com/MisskeyIO/misskey synced 2024-11-27 22:38:30 +09:00

Improve readability

This commit is contained in:
syuilo 2018-10-09 01:33:40 +09:00
parent 4455a1aa9d
commit 51d8de2c38
No known key found for this signature in database
GPG Key ID: BDC4C49D06AB9D69

View File

@ -13,7 +13,7 @@ export default prop => ({
},
$_ns_isRenote(): boolean {
return (this.$_ns_note_.renote &&
return (this.$_ns_note_.renote != null &&
this.$_ns_note_.text == null &&
this.$_ns_note_.fileIds.length == 0 &&
this.$_ns_note_.poll == null);