fix: configExists

This commit is contained in:
1ambda 2017-02-16 13:53:12 +09:00
parent e6d5181e7d
commit 453016bd75

View file

@ -196,7 +196,7 @@ export default function HeliumCtrl($scope, $rootScope, $sce,
$scope.configExists = function(pkgSearchResult) {
// helium package config is persisted per version
return pkgSearchResult.pkg.config && pkgSearchResult.pkg.version;
return pkgSearchResult.pkg.config && pkgSearchResult.pkg.artifact;
};
$scope.configOpened = function(pkgSearchResult) {