aboutsummaryrefslogtreecommitdiffstats
path: root/apps/files/src/views
diff options
context:
space:
mode:
authorLouis Chemineau <louis@chmn.me>2023-11-08 14:52:50 +0100
committerLouis Chemineau <louis@chmn.me>2023-11-09 22:39:52 +0100
commit1c84139fa6d2803d7b555dbedfda8bba8067a5ed (patch)
treecd856ad1fe482dfe56ecf7a2dfe6b680d3eeff1b /apps/files/src/views
parent397c96967a39b18354ce87a0c81964d3abc7cdc1 (diff)
downloadnextcloud-server-1c84139fa6d2803d7b555dbedfda8bba8067a5ed.tar.gz
nextcloud-server-1c84139fa6d2803d7b555dbedfda8bba8067a5ed.zip
Hide .mov for live photos
Signed-off-by: Louis Chemineau <louis@chmn.me>
Diffstat (limited to 'apps/files/src/views')
-rw-r--r--apps/files/src/views/FilesList.vue5
1 files changed, 4 insertions, 1 deletions
diff --git a/apps/files/src/views/FilesList.vue b/apps/files/src/views/FilesList.vue
index 89ce6aeb7b0..3bc4f27c2a2 100644
--- a/apps/files/src/views/FilesList.vue
+++ b/apps/files/src/views/FilesList.vue
@@ -256,7 +256,10 @@ export default Vue.extend({
},
dirContents(): Node[] {
- return (this.currentFolder?._children || []).map(this.getNode).filter(file => file)
+ return (this.currentFolder?._children || [])
+ .map(this.getNode)
+ .filter(file => file)
+ .filter(file => file?.attributes?.hidden !== true)
},
/**