]> source.dussan.org Git - nextcloud-server.git/commit
fix(files): Properly handle files in failed state
authorFerdinand Thiessen <opensource@fthiessen.de>
Thu, 13 Jun 2024 13:06:12 +0000 (15:06 +0200)
committerFerdinand Thiessen <opensource@fthiessen.de>
Mon, 24 Jun 2024 10:52:11 +0000 (12:52 +0200)
commitd4352fe2ffdafca2e662ddc7f9e7ec8b7eb3bb4a
treed7d9dbd80f07a8aecd2c3e278c563f48d7b89e7d
parentc76c954f56e085dada9a7e9553408d499993ba79
fix(files): Properly handle files in failed state

When files are loaded from API the `fileid` might be set to `-1` indicating
an error on the API.

Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
apps/files/src/components/FileEntry.vue
apps/files/src/components/FileEntry/FileEntryActions.vue
apps/files/src/components/FileEntry/FileEntryName.vue
apps/files/src/components/FileEntryGrid.vue
apps/files/src/components/FileEntryMixin.ts