From baa87d2dfba2be198ee6e53f95150a7adf95e4f2 Mon Sep 17 00:00:00 2001 From: grafixeyehero Date: Wed, 4 Sep 2019 21:53:31 +0300 Subject: [PATCH] remove user policy --- src/components/itemMediaInfo/itemMediaInfo.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/itemMediaInfo/itemMediaInfo.js b/src/components/itemMediaInfo/itemMediaInfo.js index 90a13d9cc8..da3708714d 100644 --- a/src/components/itemMediaInfo/itemMediaInfo.js +++ b/src/components/itemMediaInfo/itemMediaInfo.js @@ -26,7 +26,7 @@ define(["dialogHelper", "require", "layoutManager", "globalize", "userSettings", if (version.Path && user && user.Policy.IsAdministrator) { html += createAttribute(globalize.translate("MediaInfoPath"), version.Path) + "
"; } - if (version.Size && user && user.Policy.IsAdministrator) { + if (version.Size) { var size = (version.Size / (1024 * 1024)).toFixed(0) + " MB"; html += createAttribute(globalize.translate("MediaInfoSize"), size) + "
"; }