confidence-placeholder should not be replaced with potential "undefined"
parent
661b935c93
commit
7609f1cf94
|
|
@ -90,7 +90,6 @@ module.exports = (s,config,lang) => {
|
|||
var firstMatrix = d.details.matrices ? d.details.matrices[0] : null;
|
||||
var tag = firstMatrix ? firstMatrix.tag : '';
|
||||
newString = newString
|
||||
.replace(/{{CONFIDENCE}}/g,d.details.confidence)
|
||||
.replace(/{{TIME}}/g,d.currentTimestamp)
|
||||
.replace(/{{REGION_NAME}}/g,d.details.name)
|
||||
.replace(/{{SNAP_PATH}}/g,s.dir.streams+d.ke+'/'+d.id+'/s.jpg')
|
||||
|
|
|
|||
Loading…
Reference in New Issue