summaryrefslogtreecommitdiff
path: root/src/client/app/common/views/deck
diff options
context:
space:
mode:
authorsyuilo <syuilotan@yahoo.co.jp>2019-04-08 14:41:23 +0900
committersyuilo <syuilotan@yahoo.co.jp>2019-04-08 14:41:23 +0900
commit30f2da421548744d4f67571cbb14c204365533fa (patch)
tree1197bf7e72c1fd80cda9e8c12f7dc9c465b32e38 /src/client/app/common/views/deck
parentImprove instance chart (diff)
downloadsharkey-30f2da421548744d4f67571cbb14c204365533fa.tar.gz
sharkey-30f2da421548744d4f67571cbb14c204365533fa.tar.bz2
sharkey-30f2da421548744d4f67571cbb14c204365533fa.zip
Fix bug
Diffstat (limited to 'src/client/app/common/views/deck')
-rw-r--r--src/client/app/common/views/deck/deck.notes.vue6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/client/app/common/views/deck/deck.notes.vue b/src/client/app/common/views/deck/deck.notes.vue
index 26af7005f0..bc67f4911c 100644
--- a/src/client/app/common/views/deck/deck.notes.vue
+++ b/src/client/app/common/views/deck/deck.notes.vue
@@ -27,7 +27,7 @@
</component>
<footer v-if="more">
- <button @click="more" :disabled="moreFetching" :style="{ cursor: moreFetching ? 'wait' : 'pointer' }">
+ <button @click="fetchMore()" :disabled="moreFetching" :style="{ cursor: moreFetching ? 'wait' : 'pointer' }">
<template v-if="!moreFetching">{{ $t('@.load-more') }}</template>
<template v-if="moreFetching"><fa icon="spinner" pulse fixed-width/></template>
</button>
@@ -129,7 +129,7 @@ export default Vue.extend({
});
},
- more() {
+ fetchMore() {
if (!this.more || this.moreFetching) return;
this.moreFetching = true;
this.makePromise(this.notes[this.notes.length - 1].id).then(x => {
@@ -180,7 +180,7 @@ export default Vue.extend({
},
onBottom() {
- this.more();
+ this.fetchMore();
}
}
});