switch out remix icons in automation blocks

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

View File

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