1
0
Fork 0
mirror of synced 2024-10-01 17:47:46 +13:00

fix templates not being passed correct param

This commit is contained in:
Keviin Åberg Kultalahti 2021-03-31 14:23:58 +02:00
parent 12fbd6245c
commit 7cc7feea07
2 changed files with 2 additions and 2 deletions

View file

@ -24,7 +24,7 @@ export default (frontendState, tables) => {
})
const fromScratch = enrichTemplate(createFromScratchScreen)
const tableTemplates = allTemplates(tables.list).map(enrichTemplate)
const tableTemplates = allTemplates(tables).map(enrichTemplate)
return [
fromScratch,
...tableTemplates.sort((templateA, templateB) => {

View file

@ -16,7 +16,7 @@
let createLink = true
let roleId = "BASIC"
$: templates = getTemplates($store, $tables)
$: templates = getTemplates($store, $tables.list)
$: route = !route && $allScreens.length === 0 ? "*" : route
$: {
if (templates && templateIndex === undefined) {