the _.eq alias must not be available in the version of lodash that we use. _.isEqual is available.

This commit is contained in:
Michael Abashian 2017-07-03 14:23:59 -04:00
parent e63eb35dd0
commit 84507969f5

View File

@ -212,7 +212,7 @@ export default ['templateUrl', 'Rest', 'GetBasePath', 'generateList', '$compile'
if ($scope.originalSelectedCredentials) {
return !($scope.originalSelectedCredentials.machine === null &&
$scope.originalSelectedCredentials.extra.length === 0) &&
!_.eq($scope.selectedCredentials,
!_.isEqual($scope.selectedCredentials,
$scope.originalSelectedCredentials);
} else {
return false;