mirror of
https://activitypub.software/TransFem-org/Sharkey.git
synced 2024-12-15 00:55:48 +01:00
wip
This commit is contained in:
parent
47efc83f16
commit
7ce857593a
2 changed files with 4 additions and 2 deletions
|
@ -8,7 +8,9 @@
|
||||||
<span>%fa:angle-down%{{ _posts[i + 1]._datetext }}</span>
|
<span>%fa:angle-down%{{ _posts[i + 1]._datetext }}</span>
|
||||||
</p>
|
</p>
|
||||||
</template>
|
</template>
|
||||||
<slot name="tail"></slot>
|
<footer>
|
||||||
|
<slot name="tail"></slot>
|
||||||
|
</footer>
|
||||||
</div>
|
</div>
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
|
|
|
@ -74,8 +74,8 @@ export default Vue.extend({
|
||||||
(this as any).api('posts/timeline', {
|
(this as any).api('posts/timeline', {
|
||||||
until_id: this.posts[this.posts.length - 1].id
|
until_id: this.posts[this.posts.length - 1].id
|
||||||
}).then(posts => {
|
}).then(posts => {
|
||||||
|
this.posts = this.posts.concat(posts);
|
||||||
this.moreFetching = false;
|
this.moreFetching = false;
|
||||||
this.posts.unshift(posts);
|
|
||||||
});
|
});
|
||||||
},
|
},
|
||||||
onPost(post) {
|
onPost(post) {
|
||||||
|
|
Loading…
Reference in a new issue