diff options
| author | syuilo <syuilotan@yahoo.co.jp> | 2020-03-21 12:32:40 +0900 |
|---|---|---|
| committer | syuilo <syuilotan@yahoo.co.jp> | 2020-03-21 12:32:40 +0900 |
| commit | f1fc12d9cc779fe2a2ec9e072912bc197d5e23b1 (patch) | |
| tree | 48fbd64d6e143cf0d51f1f81aa3a1d3fbf87590b /src/client/components/notifications.vue | |
| parent | wip (diff) | |
| download | misskey-f1fc12d9cc779fe2a2ec9e072912bc197d5e23b1.tar.gz misskey-f1fc12d9cc779fe2a2ec9e072912bc197d5e23b1.tar.bz2 misskey-f1fc12d9cc779fe2a2ec9e072912bc197d5e23b1.zip | |
wip
Diffstat (limited to 'src/client/components/notifications.vue')
| -rw-r--r-- | src/client/components/notifications.vue | 16 |
1 files changed, 2 insertions, 14 deletions
diff --git a/src/client/components/notifications.vue b/src/client/components/notifications.vue index f090dc6bc4..a17663b01d 100644 --- a/src/client/components/notifications.vue +++ b/src/client/components/notifications.vue @@ -5,9 +5,9 @@ <x-notification v-else :notification="notification" :with-time="true" :full="true" class="_panel notification" :key="notification.id"/> </x-list> - <button class="more _button" v-if="more" @click="fetchMore" :disabled="moreFetching"> + <button class="_panel _button" v-if="more" @click="fetchMore" :disabled="moreFetching"> <template v-if="!moreFetching">{{ $t('loadMore') }}</template> - <template v-if="moreFetching"><fa :icon="faSpinner" pulse fixed-width/></template> + <template v-if="moreFetching"><mk-loading inline/></template> </button> <p class="empty" v-if="empty">{{ $t('noNotifications') }}</p> @@ -18,7 +18,6 @@ <script lang="ts"> import Vue from 'vue'; -import { faSpinner } from '@fortawesome/free-solid-svg-icons'; import i18n from '../i18n'; import paging from '../scripts/paging'; import XNotification from './notification.vue'; @@ -55,7 +54,6 @@ export default Vue.extend({ includeTypes: this.type ? [this.type] : undefined }) }, - faSpinner }; }, @@ -96,16 +94,6 @@ export default Vue.extend({ } } - > .more { - display: block; - width: 100%; - padding: 16px; - - > [data-icon] { - margin-right: 4px; - } - } - > .empty { margin: 0; padding: 16px; |