From 01263a50cc29b792844cf2df5f9c69f4f9427ddf Mon Sep 17 00:00:00 2001 From: Arman Date: Tue, 21 Jun 2022 10:35:06 +0200 Subject: [PATCH] fix: page name not loading from store --- .../storage/bucket/[bucket]/file/[file]/__layout.svelte | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/routes/console/[project]/storage/bucket/[bucket]/file/[file]/__layout.svelte b/src/routes/console/[project]/storage/bucket/[bucket]/file/[file]/__layout.svelte index f8813a0b4..487acb5a9 100644 --- a/src/routes/console/[project]/storage/bucket/[bucket]/file/[file]/__layout.svelte +++ b/src/routes/console/[project]/storage/bucket/[bucket]/file/[file]/__layout.svelte @@ -15,8 +15,8 @@ } $: { - if ($file) { - title.set($file.name); + if ($file.response) { + title.set($file.response.name); } }