refs #6274 refactor ifIsEmptyText
gitea/worker-time-control/pipeline/head This commit looks good
Details
gitea/worker-time-control/pipeline/head This commit looks good
Details
This commit is contained in:
parent
c62771b6c7
commit
56da86d1d5
|
@ -225,12 +225,8 @@ function ifIsEmptyImage(value) {
|
|||
}
|
||||
}
|
||||
|
||||
function ifIsEmptyText(value) {
|
||||
if (!value) {
|
||||
return 0;
|
||||
} else {
|
||||
return value;
|
||||
}
|
||||
function ifIsEmptyText(value = 0) {
|
||||
return value;
|
||||
}
|
||||
|
||||
function cerrar(){
|
||||
|
|
Loading…
Reference in New Issue