1
0
Fork 0
mirror of https://github.com/portainer/portainer.git synced 2025-07-21 22:39:41 +02:00

fix(jshint): fix lint issues

This commit is contained in:
Anthony Lapenna 2017-03-16 11:32:07 +01:00
parent 9f12cbd43d
commit 631b29eddc
3 changed files with 3 additions and 3 deletions

View file

@ -47,7 +47,7 @@ angular.module('containers', [])
angular.forEach($scope.containers, function (container) {
if (container.Metadata) {
var containerRC = container.Metadata.ResourceControl;
if (containerRC && containerRC.OwnerId != $scope.user.ID) {
if (containerRC && containerRC.OwnerId !== $scope.user.ID) {
angular.forEach(users, function (user) {
if (containerRC.OwnerId === user.Id) {
container.Owner = user.Username;