mirror of
https://github.com/misskey-dev/misskey.git
synced 2026-05-31 12:44:05 +02:00
wip
This commit is contained in:
@@ -27,9 +27,7 @@ export default Vue.extend({
|
||||
moreFetching: false,
|
||||
existMore: false,
|
||||
connection: null,
|
||||
connectionId: null,
|
||||
unreadCount: 0,
|
||||
date: null
|
||||
connectionId: null
|
||||
};
|
||||
},
|
||||
|
||||
@@ -74,17 +72,12 @@ export default Vue.extend({
|
||||
},
|
||||
|
||||
methods: {
|
||||
mount(root) {
|
||||
this.$refs.timeline.mount(root);
|
||||
},
|
||||
|
||||
fetch() {
|
||||
this.fetching = true;
|
||||
|
||||
(this.$refs.timeline as any).init(() => new Promise((res, rej) => {
|
||||
(this as any).api(this.endpoint, {
|
||||
limit: fetchLimit + 1,
|
||||
untilDate: this.date ? this.date.getTime() : undefined,
|
||||
includeMyRenotes: this.$store.state.settings.showMyRenotes,
|
||||
includeRenotedMyNotes: this.$store.state.settings.showRenotedMyNotes
|
||||
}).then(notes => {
|
||||
|
||||
Reference in New Issue
Block a user