-
Notifications
You must be signed in to change notification settings - Fork 53
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
history tab #70
base: master
Are you sure you want to change the base?
history tab #70
Conversation
this.isLoading = true; | ||
|
||
const items = await getItemHistory(this.address, options).then((res) => { | ||
return res.slice(options.offset, options.offset + this.limit) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
часть с .then нужна только для мока
await this.loadData({ limit: this.limit,offset: 0 }) | ||
|
||
this.lastActivity = this.items.length > 0 | ||
? new Date().getTime() //FIX_ME this.items[0]?.timestamp |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
здесь я не понял, откуда брать timestamp для этого
await this.loadData({ | ||
limit: this.limit, | ||
offset: this.items.length, | ||
end_utime: this.lastActivity, // FIX_ME |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
не уверен, нужно ли передавать end_utime в ручку с получением транзакций
No description provided.