+
+
{#if tree.entries.length > 0}
-
-
-
{
- // Close mobile tree if user navigates to other file.
- mobileFileTree = false;
- }} />
+
+ {/if}
+
+
+ {#if tree.entries.length > 0}
+
+
+ {
+ // Close mobile tree if user navigates to other file.
+ mobileFileTree = false;
+ }} />
+
-
-
- {#if blobResult.ok}
-
- {:else}
-
-
- {blobResult.error.path}
-
+
+ {#if blobResult.ok}
+
+ {:else}
+
+
+ {blobResult.error.path}
+
+
+ {blobResult.error.message}
+
+
+ {/if}
+
+ {:else}
+
+
+ Nothing to show
- {blobResult.error.message}
+ We couldn't find any files at this revision.
- {/if}
-
- {:else}
-
-
- Nothing to show
- We couldn't find any files at this revision.
-
-
- {/if}
-
-
+
+ {/if}
+
+
+
diff --git a/src/views/projects/Commit.svelte b/src/views/projects/Commit.svelte
index 532930fbe..59608c8f5 100644
--- a/src/views/projects/Commit.svelte
+++ b/src/views/projects/Commit.svelte
@@ -7,6 +7,7 @@
import Clipboard from "@app/components/Clipboard.svelte";
import CommitAuthorship from "@app/views/projects/Commit/CommitAuthorship.svelte";
import InlineMarkdown from "@app/components/InlineMarkdown.svelte";
+ import Layout from "./Layout.svelte";
export let baseUrl: BaseUrl;
export let commit: Commit;
@@ -49,27 +50,29 @@
}
-
-