Conditionally show the Artifacts field.

This commit is contained in:
kialam
2019-02-07 08:59:44 -07:00
parent c114243082
commit 76a16b329e

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;
}