Hide cache timeout when editing existing scm project and changing the type to manual

This commit is contained in:
Michael Abashian 2016-06-23 16:56:48 -04:00
parent 288ecc1c5b
commit 38d4be552d

View File

@ -183,7 +183,7 @@ angular.module('ProjectFormDefinition', ['SchedulesListDefinition'])
type: 'number',
integer: true,
min: 0,
ngShow: "scm_update_on_launch && projectSelected",
ngShow: "scm_update_on_launch && projectSelected && scm_type.value !== 'manual'",
spinner: true,
"default": '0',
addRequired: false,