summaryrefslogtreecommitdiff
path: root/src/web
diff options
context:
space:
mode:
authorsyuilo <syuilotan@yahoo.co.jp>2017-06-07 03:19:28 +0900
committersyuilo <syuilotan@yahoo.co.jp>2017-06-07 03:19:28 +0900
commitbe5a19f520de32a5c2b5f01b4890625963cd51cf (patch)
tree17c55d15095729fd7d30397ed5c27466c442c34d /src/web
parentv2000 (diff)
downloadmisskey-be5a19f520de32a5c2b5f01b4890625963cd51cf.tar.gz
misskey-be5a19f520de32a5c2b5f01b4890625963cd51cf.tar.bz2
misskey-be5a19f520de32a5c2b5f01b4890625963cd51cf.zip
[Client] Fix bug
Diffstat (limited to 'src/web')
-rw-r--r--src/web/app/desktop/tags/notifications.tag4
-rw-r--r--src/web/app/mobile/tags/notifications.tag4
2 files changed, 4 insertions, 4 deletions
diff --git a/src/web/app/desktop/tags/notifications.tag b/src/web/app/desktop/tags/notifications.tag
index d5ca9e2eb7..5a6fd346d3 100644
--- a/src/web/app/desktop/tags/notifications.tag
+++ b/src/web/app/desktop/tags/notifications.tag
@@ -176,6 +176,7 @@
width 100%
padding 16px
color #555
+ border-top solid 1px rgba(0, 0, 0, 0.05)
> .empty
margin 0
@@ -251,9 +252,8 @@
const max = 30;
this.api('i/notifications', {
- folder_id: this.folder ? this.folder.id : null,
limit: max + 1,
- max_id: this.notifications[this.notifications.length - 1]._id
+ max_id: this.notifications[this.notifications.length - 1].id
}).then(notifications => {
if (notifications.length == max + 1) {
this.moreNotifications = true;
diff --git a/src/web/app/mobile/tags/notifications.tag b/src/web/app/mobile/tags/notifications.tag
index 0f9e0b0a65..89651e1ce9 100644
--- a/src/web/app/mobile/tags/notifications.tag
+++ b/src/web/app/mobile/tags/notifications.tag
@@ -46,6 +46,7 @@
width 100%
padding 16px
color #555
+ border-top solid 1px rgba(0, 0, 0, 0.05)
> .empty
margin 0
@@ -121,9 +122,8 @@
const max = 30;
this.api('i/notifications', {
- folder_id: this.folder ? this.folder.id : null,
limit: max + 1,
- max_id: this.notifications[this.notifications.length - 1]._id
+ max_id: this.notifications[this.notifications.length - 1].id
}).then(notifications => {
if (notifications.length == max + 1) {
this.moreNotifications = true;