mirror of
https://github.com/nextcloud/spreed.git
synced 2025-12-18 05:20:50 +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 mediaFiles = this.sharedItemsStore.sharedItems(this.token).media
|
||||||
const list = getRevertedList(mediaFiles)
|
const list = getRevertedList(mediaFiles)
|
||||||
const loadMore = async () => {
|
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)
|
return getRevertedList(messages)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -127,7 +127,7 @@ export default {
|
||||||
|
|
||||||
async fetchItems(type) {
|
async fetchItems(type) {
|
||||||
this.isRequestingMoreItems[this.activeTab] = true
|
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) {
|
if (hasMoreItems === false) {
|
||||||
this.hasFetchedAllItems[this.activeTab] = true
|
this.hasFetchedAllItems[this.activeTab] = true
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue