switch out remix icons in automation blocks

This commit is contained in:
Keviin Åberg Kultalahti 2021-04-23 10:13:56 +02:00
parent 3d369d50a2
commit 77b2b7e43a
1 changed files with 4 additions and 3 deletions

View File

@ -1,6 +1,7 @@
<script>
import { automationStore } from "builderStore"
import AutomationBlockTagline from "./AutomationBlockTagline.svelte"
import { Icon } from "@budibase/bbui"
export let onSelect
export let block
@ -23,13 +24,13 @@
on:click={() => onSelect(block)}>
<header>
{#if block.type === 'TRIGGER'}
<i class="ri-lightbulb-fill" />
<Icon name="Light" />
<span>When this happens...</span>
{:else if block.type === 'ACTION'}
<i class="ri-flashlight-fill" />
<Icon name="FlashOn" />
<span>Do this...</span>
{:else if block.type === 'LOGIC'}
<i class="ri-git-branch-line" />
<Icon name="Branch2" />
<span>Only continue if...</span>
{/if}
<div class="label">