diff --git a/app/components/containers/containersController.js b/app/components/containers/containersController.js index eea0140e0..f88821698 100644 --- a/app/components/containers/containersController.js +++ b/app/components/containers/containersController.js @@ -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; diff --git a/app/components/services/servicesController.js b/app/components/services/servicesController.js index 13f63fff6..e1147b17b 100644 --- a/app/components/services/servicesController.js +++ b/app/components/services/servicesController.js @@ -114,7 +114,7 @@ function ($q, $scope, $stateParams, $state, Service, ServiceHelper, Messages, Pa angular.forEach($scope.services, function (service) { if (service.Metadata) { var serviceRC = service.Metadata.ResourceControl; - if (serviceRC && serviceRC.OwnerId != $scope.user.ID) { + if (serviceRC && serviceRC.OwnerId !== $scope.user.ID) { angular.forEach(users, function (user) { if (serviceRC.OwnerId === user.Id) { service.Owner = user.Username; diff --git a/app/components/volumes/volumesController.js b/app/components/volumes/volumesController.js index e020f075b..1df40343a 100644 --- a/app/components/volumes/volumesController.js +++ b/app/components/volumes/volumesController.js @@ -99,7 +99,7 @@ function ($scope, $state, Volume, Messages, Pagination, ModalService, Authentica angular.forEach($scope.volumes, function (volume) { if (volume.Metadata) { var volumeRC = volume.Metadata.ResourceControl; - if (volumeRC && volumeRC.OwnerId != $scope.user.ID) { + if (volumeRC && volumeRC.OwnerId !== $scope.user.ID) { angular.forEach(users, function (user) { if (volumeRC.OwnerId === user.Id) { volume.Owner = user.Username;