consider ccpnote

This commit is contained in:
dcore94 2023-05-24 17:25:27 +02:00
parent 043c151bb4
commit e032eb3e10
1 changed files with 6 additions and 2 deletions

View File

@ -62,7 +62,7 @@ class CCPExecutionHistory extends HTMLElement {
<li class="ccp-method-item list-group-item list-group-item-dark">
<details name="level1">
<summary class="ccp-method-item-header noselect d-flex flex-wrap justify-content-between">
<h5 class="text-primary d-inline mr-2"></h5>
<h5 class="text-primary d-inline"></h5>
<div>
<span name="failed" title="Failed executions" class="badge badge-danger float-right">Z</span>
<span name="successful" title="Successful executions"class="badge badge-success float-right mr-1">Y</span>
@ -527,7 +527,11 @@ class CCPExecutionHistory extends HTMLElement {
{
target : "span[name=version]",
apply : (e,d)=>{
e.textContent = `${d.methodversion}`
if(d.ccpnote){
e.textContent = `${d.ccpnote} (${d.methodversion})`
}else{
e.textContent = `${d.methodversion}`
}
}
},
{