summaryrefslogtreecommitdiff
path: root/src/client/app/desktop/views/components
diff options
context:
space:
mode:
authorsyuilo <syuilotan@yahoo.co.jp>2018-06-22 18:03:08 +0900
committersyuilo <syuilotan@yahoo.co.jp>2018-06-22 18:03:08 +0900
commit09c5efc161585f0c7443bb6e1cc737397a149dde (patch)
tree6de011866bbbee0749bb3fd830e752556b4cbe2e /src/client/app/desktop/views/components
parentClean up: Remove the unused file (diff)
downloadmisskey-09c5efc161585f0c7443bb6e1cc737397a149dde.tar.gz
misskey-09c5efc161585f0c7443bb6e1cc737397a149dde.tar.bz2
misskey-09c5efc161585f0c7443bb6e1cc737397a149dde.zip
:v:
Diffstat (limited to 'src/client/app/desktop/views/components')
-rw-r--r--src/client/app/desktop/views/components/notifications.vue9
1 files changed, 6 insertions, 3 deletions
diff --git a/src/client/app/desktop/views/components/notifications.vue b/src/client/app/desktop/views/components/notifications.vue
index e479ffadbf..32b36994db 100644
--- a/src/client/app/desktop/views/components/notifications.vue
+++ b/src/client/app/desktop/views/components/notifications.vue
@@ -1,7 +1,9 @@
<template>
<div class="mk-notifications">
<div class="notifications" v-if="notifications.length != 0">
- <transition-group name="mk-notifications" class="transition">
+ <!-- トランジションを有効にするとなぜかメモリリークする -->
+ <!-- <transition-group name="mk-notifications" class="transition"> -->
+ <div>
<template v-for="(notification, i) in _notifications">
<div class="notification" :class="notification.type" :key="notification.id">
<mk-time :time="notification.createdAt"/>
@@ -95,7 +97,8 @@
<span>%fa:angle-down%{{ _notifications[i + 1]._datetext }}</span>
</p>
</template>
- </transition-group>
+ </div>
+ <!-- </transition-group> -->
</div>
<button class="more" :class="{ fetching: fetchingMoreNotifications }" v-if="moreNotifications" @click="fetchMoreNotifications" :disabled="fetchingMoreNotifications">
<template v-if="fetchingMoreNotifications">%fa:spinner .pulse .fw%</template>{{ fetchingMoreNotifications ? '%i18n:common.loading%' : '%i18n:@more%' }}
@@ -201,7 +204,7 @@ root(isDark)
transition transform .3s ease, opacity .3s ease
> .notifications
- > *
+ > div
> .notification
margin 0
padding 16px