Event Recovery

Search and recover old versions of replaceable events

{#if (recoverySelectedKind !== null && recoverySelectedKind !== undefined && recoverySelectedKind >= 0) || (recoveryCustomKind !== "" && parseInt(recoveryCustomKind) >= 0)}
{#if isLoadingRecovery}
Loading events...
{:else if recoveryEvents.length === 0}
No events found for this kind
{:else}
{#each recoveryEvents as event} {@const isCurrent = isCurrentVersion(event)}
{#if isCurrent} Current Version{/if} {new Date( event.created_at * 1000, ).toLocaleString()}
{#if !isCurrent} {/if}
{JSON.stringify(
                                        event,
                                        null,
                                        2,
                                    )}
{/each}
{#if recoveryHasMore} {/if} {/if}
{/if}