From b0c12d09e3a0acebfd8aeca1e2437f7cd7a2ad59 Mon Sep 17 00:00:00 2001 From: syuilo Date: Sat, 25 Mar 2017 23:52:49 +0900 Subject: [PATCH] [Client:Desktop] Fix bug --- package.json | 2 +- src/web/app/desktop/tags/home-widgets/recommended-polls.tag | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/package.json b/package.json index 2012a7cbb0..f2092aad41 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "name": "misskey", "author": "syuilo ", - "version": "0.0.1479", + "version": "0.0.1480", "license": "MIT", "description": "A miniblog-based SNS", "bugs": "https://github.com/syuilo/misskey/issues", diff --git a/src/web/app/desktop/tags/home-widgets/recommended-polls.tag b/src/web/app/desktop/tags/home-widgets/recommended-polls.tag index ebc33d77da..96a39e04c6 100644 --- a/src/web/app/desktop/tags/home-widgets/recommended-polls.tag +++ b/src/web/app/desktop/tags/home-widgets/recommended-polls.tag @@ -87,7 +87,7 @@ offset: this.offset }).then(posts => { const poll = posts ? posts[0] : null; - if (post == null) { + if (poll == null) { this.offset = 0; } else { this.offset++;