Conditionally show the Artifacts field.

This commit is contained in:
kialam 2019-02-07 08:59:44 -07:00
parent c114243082
commit 76a16b329e
No known key found for this signature in database
GPG Key ID: 2D0E60E4B8C7EA0F

View File

@ -580,7 +580,7 @@ function getExtraVarsDetails () {
function getArtifactsDetails (val) {
const artifacts = val || resource.model.get('artifacts');
if (!artifacts) {
if (!artifacts || artifacts === '{}') {
return null;
}