diff --git a/src/js/filemanager.js b/src/js/filemanager.js index 6182054c8..5cee86561 100644 --- a/src/js/filemanager.js +++ b/src/js/filemanager.js @@ -7,12 +7,12 @@ var app = angular.module('Application', ['angular-md5', 'ui-notification']); angular.module('Application').filter('prettyOwner', function () { return function (uid) { - if (uid === 1) return 'root'; + if (uid === 0) return 'root'; if (uid === 33) return 'cloudron'; if (uid === 1000) return 'cloudron'; if (uid === 1001) return 'git'; - return 'unkown'; + return uid; } });