From 7fb40cd7adbbe79dd0e248bcf15158c07f159dbd Mon Sep 17 00:00:00 2001 From: Andrew Kingston Date: Tue, 18 May 2021 13:55:15 +0100 Subject: [PATCH] Allow app card rows to display all lock statuses --- packages/builder/src/components/start/AppRow.svelte | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/packages/builder/src/components/start/AppRow.svelte b/packages/builder/src/components/start/AppRow.svelte index 1a4ec1a152..1fe65f290a 100644 --- a/packages/builder/src/components/start/AppRow.svelte +++ b/packages/builder/src/components/start/AppRow.svelte @@ -8,8 +8,6 @@ MenuItem, Link, } from "@budibase/bbui" - import { AppStatus } from "constants" - import { url } from "@roxi/routify" import { auth } from "stores/backend" export let app @@ -34,8 +32,13 @@
{#if app.lockedBy} -
- Locked by {app.lockedBy.email} + {#if app.lockedBy.email === $auth.user.email} +
+ Locked by you + {:else} +
+ Locked by {app.lockedBy.email} + {/if} {:else}
Open