From 1fdb2085e59aa9a01abce981ef6c455a87f874e2 Mon Sep 17 00:00:00 2001 From: Arman Date: Thu, 10 Aug 2023 14:55:18 +0200 Subject: [PATCH] fix: loading condition error --- .../functions/function-[function]/deploymentSource.svelte | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/routes/console/project-[project]/functions/function-[function]/deploymentSource.svelte b/src/routes/console/project-[project]/functions/function-[function]/deploymentSource.svelte index 986e973aa..caefbfc78 100644 --- a/src/routes/console/project-[project]/functions/function-[function]/deploymentSource.svelte +++ b/src/routes/console/project-[project]/functions/function-[function]/deploymentSource.svelte @@ -47,7 +47,7 @@ class="u-underline u-cursor-pointer" target="_blank" href={deployment.providerCommitUrl} - >{deployment.providerCommitHash.substring(0, 7)} + >{deployment?.providerCommitHash?.substring(0, 7)} {deployment.providerCommitMessage}