master #13

Merged
m.lettere merged 13 commits from master into prod 2024-04-23 18:26:24 +02:00
1 changed files with 1 additions and 1 deletions
Showing only changes of commit b254262f58 - Show all commits

View File

@ -1011,7 +1011,7 @@ class CCPMethodEditorController extends HTMLElement {
}
if(i.schema.format === "file"){
def = Array.isArray(def) ? def : [def]
def = def.map(v=>v.substring(0,5) + "......" + v.substring(v.length-5))
def = def.map(v=>v.length > 15 ? v.substring(0,5) + "..." + v.substring(v.length-5) : v)
}
return acc.replaceAll(r, def)
}, code)