{#if currentValue !== undefined && currentUnit !== undefined && progress !== undefined}
{currentValue} {currentUnit} {#if maxValue !== undefined} {maxValue} {maxUnit ? maxUnit : ''} {/if} {#if progressMax !== undefined}
{/if}
{/if} {#if showBar && progressBarData.length > 0} {/if}