fix email templates being unreachable

This commit is contained in:
Keviin Åberg Kultalahti 2021-05-20 14:49:53 +02:00
parent 24c56a89ec
commit fd74c07869
1 changed files with 1 additions and 11 deletions

View File

@ -1,29 +1,18 @@
<script> <script>
import { goto } from "@roxi/routify" import { goto } from "@roxi/routify"
import { import {
Menu,
MenuItem,
Button, Button,
Heading, Heading,
Divider, Divider,
Label, Label,
Modal,
ModalContent,
notifications, notifications,
Layout, Layout,
Input, Input,
TextArea,
Body, Body,
Page,
Select,
MenuSection,
MenuSeparator,
Table, Table,
} from "@budibase/bbui" } from "@budibase/bbui"
import { onMount } from "svelte" import { onMount } from "svelte"
import { email } from "stores/portal" import { email } from "stores/portal"
import Editor from "components/integration/QueryEditor.svelte"
import TemplateBindings from "./_components/TemplateBindings.svelte"
import TemplateLink from "./_components/TemplateLink.svelte" import TemplateLink from "./_components/TemplateLink.svelte"
import api from "builderStore/api" import api from "builderStore/api"
@ -158,6 +147,7 @@
data={$email.templates} data={$email.templates}
schema={templateSchema} schema={templateSchema}
{loading} {loading}
on:click={({ detail }) => $goto(`./${detail.purpose}`)}
allowEditRows={false} allowEditRows={false}
allowSelectRows={false} allowSelectRows={false}
allowEditColumns={false} allowEditColumns={false}