Revert app rows to use normal icons

This commit is contained in:
Andrew Kingston 2022-08-05 10:41:44 +01:00
parent 447c51f8f2
commit a2dc49453f
1 changed files with 4 additions and 2 deletions

View File

@ -1,5 +1,5 @@
<script> <script>
import { Heading, Button, Icon, IconAvatar } from "@budibase/bbui" import { Heading, Button, Icon } from "@budibase/bbui"
import AppLockModal from "../common/AppLockModal.svelte" import AppLockModal from "../common/AppLockModal.svelte"
import { processStringSync } from "@budibase/string-templates" import { processStringSync } from "@budibase/string-templates"
@ -10,7 +10,9 @@
<div class="title" data-cy={`${app.devId}`}> <div class="title" data-cy={`${app.devId}`}>
<div style="display: flex;"> <div style="display: flex;">
<IconAvatar icon={app.icon?.name || "Apps"} color={app.icon?.color} /> <div class="app-icon" style="color: {app.icon?.color || ''}">
<Icon size="XL" name={app.icon?.name || "Apps"} />
</div>
<div class="name" data-cy="app-name-link" on:click={() => editApp(app)}> <div class="name" data-cy="app-name-link" on:click={() => editApp(app)}>
<Heading size="XS"> <Heading size="XS">
{app.name} {app.name}