diff --git a/app/src/lib/components/History.svelte b/app/src/lib/components/History.svelte index 5223233bf..184369edb 100644 --- a/app/src/lib/components/History.svelte +++ b/app/src/lib/components/History.svelte @@ -104,6 +104,15 @@ restored_from: {entry.details?.trailers .find((t) => t.key === 'restored_from') ?.value?.slice(0, 7)} + {:else if entry.details?.operation === 'DeleteBranch'} + name: {entry.details?.trailers.find((t) => t.key === 'name')?.value} + {:else if ['ReorderBranches', 'UpdateBranchName', 'SelectDefaultVirtualBranch', 'UpdateBranchRemoteName'].includes(entry.details?.operation || '')} +
+ before: {entry.details?.trailers.find((t) => t.key === 'before')?.value} +
+
+ after: {entry.details?.trailers.find((t) => t.key === 'after')?.value} +
{/if}
diff --git a/app/src/routes/+layout.svelte b/app/src/routes/+layout.svelte index 48f14ff37..24573464e 100644 --- a/app/src/routes/+layout.svelte +++ b/app/src/routes/+layout.svelte @@ -79,6 +79,8 @@ }); + e.preventDefault()} on:dragover={(e) => e.preventDefault()} /> +