fix Additional Input Map not loading fields+

montage-api
Moe 2021-12-04 08:42:49 -08:00
parent 6e48a1d928
commit 36fe174877
1 changed files with 1 additions and 6 deletions

View File

@ -499,12 +499,7 @@ function importIntoMonitorEditor(options){
//get maps
monitorSectionInputMaps.empty()
if(monitorDetails.input_maps && monitorDetails.input_maps !== ''){
var input_maps
try{
input_maps = safeJsonParse(monitorDetails.input_maps)
}catch(er){
input_maps = monitorDetails.input_maps;
}
var input_maps = safeJsonParse(monitorDetails.input_maps)
if(input_maps.length > 0){
showInputMappingFields()
$.each(input_maps,function(n,v){