Code review updates

This commit is contained in:
Dean 2022-08-02 15:20:53 +01:00
parent 4b0e89b841
commit 66ca438c98
3 changed files with 55 additions and 59 deletions

View File

@ -74,6 +74,7 @@
{/if} {/if}
</div> </div>
{#key app}
<div> <div>
<Modal bind:this={appLockModal}> <Modal bind:this={appLockModal}>
<ModalContent <ModalContent
@ -133,6 +134,7 @@
</ModalContent> </ModalContent>
</Modal> </Modal>
</div> </div>
{/key}
<style> <style>
.lock-modal-actions { .lock-modal-actions {

View File

@ -6,7 +6,6 @@
export let app export let app
export let editApp export let editApp
export let appOverview export let appOverview
export let idx
</script> </script>
<div class="title" data-cy={`${app.devId}`}> <div class="title" data-cy={`${app.devId}`}>

View File

@ -381,13 +381,8 @@
</div> </div>
<div class="appTable" class:unlocked> <div class="appTable" class:unlocked>
{#each filteredApps as app, idx} {#each filteredApps as app (app.appId)}
<AppRow <AppRow {app} {editApp} {appOverview} />
{app}
{editApp}
{appOverview}
idx={`${idx}_${app.appId}`}
/>
{/each} {/each}
</div> </div>
</Layout> </Layout>