{#if log.length === 0}
{t('actionLogEmpty')}
{:else}
{t('actionLogRollbackHint')}
{#each log.slice().reverse() as desc, i (i + '::' + desc)}
(confirming = i)} > {desc}
{/each}
{/if} {#if confirming != null}
{t('actionLogRollbackTitle')}
{t('actionLogRollbackBody', { action: confirmDesc, count: undosPending ?? 0 })}
(confirming = null)}> {t('close')}
{t('actionLogRollbackConfirm')}
{/if}