From d482f205cd644d83f726a3dc1c26adbe97bb0795 Mon Sep 17 00:00:00 2001 From: Sean Engelhardt Date: Wed, 6 Nov 2019 10:12:15 +0100 Subject: [PATCH] Fixes a bug where files are not known as files This is a regression from model change. The is_file method is missing. Replaces is_file with !is_directory --- .../components/mediafile-list/mediafile-list.component.html | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/client/src/app/site/mediafiles/components/mediafile-list/mediafile-list.component.html b/client/src/app/site/mediafiles/components/mediafile-list/mediafile-list.component.html index d961e0580..3e6118c42 100644 --- a/client/src/app/site/mediafiles/components/mediafile-list/mediafile-list.component.html +++ b/client/src/app/site/mediafiles/components/mediafile-list/mediafile-list.component.html @@ -93,7 +93,7 @@ >
- + @@ -102,7 +102,7 @@
- + @@ -110,7 +110,7 @@
{{ mediafile.filename }}
-
+
{{ getDateFromTimestamp(mediafile.timestamp) }} ยท {{ mediafile.size }}