Improve readability

This commit is contained in:
syuilo 2018-10-09 01:33:40 +09:00
parent 036f7f976a
commit 3bec23fce7

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);