root is uid 0
This commit is contained in:
@@ -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;
|
||||
}
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user