mirror of
https://github.com/nextcloud/spreed.git
synced 2025-12-17 13:08:58 +01:00
fix: update actions
Signed-off-by: Dorra Jaouad <dorra.jaoued7@gmail.com>
This commit is contained in:
parent
2685860dfc
commit
6124236884
2 changed files with 2 additions and 2 deletions
|
|
@ -519,7 +519,7 @@ export default {
|
|||
const mediaFiles = this.sharedItemsStore.sharedItems(this.token).media
|
||||
const list = getRevertedList(mediaFiles)
|
||||
const loadMore = async () => {
|
||||
const { messages } = await this.sharedItemsStore.getSharedItems(this.token, SHARED_ITEM.TYPES.MEDIA)
|
||||
const { messages } = await this.sharedItemsStore.fetchSharedItems(this.token, SHARED_ITEM.TYPES.MEDIA)
|
||||
return getRevertedList(messages)
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -127,7 +127,7 @@ export default {
|
|||
|
||||
async fetchItems(type) {
|
||||
this.isRequestingMoreItems[this.activeTab] = true
|
||||
const { hasMoreItems } = await this.sharedItemsStore.getSharedItems(this.token, type)
|
||||
const { hasMoreItems } = await this.sharedItemsStore.fetchSharedItems(this.token, type)
|
||||
if (hasMoreItems === false) {
|
||||
this.hasFetchedAllItems[this.activeTab] = true
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue