diff --git a/src/actions/list.ts b/src/actions/list.ts index 6883634..5d40454 100644 --- a/src/actions/list.ts +++ b/src/actions/list.ts @@ -34,7 +34,7 @@ export default { const footer = document.createElement('div'); footer.className = 'sp-action-list-footer'; const itemsSize = params["WFItems"].length; - footer.innerText = itemsSize + ' item' + (itemsSize ? 's' : null); + footer.innerText = itemsSize + ' item' + (itemsSize ? 's' : ''); list.appendChild(ul); list.appendChild(footer);