From 88aa3de7842a5113de5f137ba57bdae1f77777b5 Mon Sep 17 00:00:00 2001 From: Julius Härtl Date: Wed, 23 Jan 2019 17:48:24 +0100 Subject: Add iconClass to resources MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Julius Härtl --- apps/files_sharing/src/components/CollectionListItem.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'apps/files_sharing/src') diff --git a/apps/files_sharing/src/components/CollectionListItem.vue b/apps/files_sharing/src/components/CollectionListItem.vue index aebab670ac2..f22d5238d6c 100644 --- a/apps/files_sharing/src/components/CollectionListItem.vue +++ b/apps/files_sharing/src/components/CollectionListItem.vue @@ -92,7 +92,7 @@ ] }, getIcon() { - return (resource) => [window.OCP.Collaboration.getIcon(resource.type)] + return (resource) => [window.OCP.Collaboration.getIcon(resource.type), resource.iconClass] }, getLink() { return (resource) => window.OCP.Collaboration.getLink(resource.type, resource.id) -- cgit v1.2.3