@ -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) => {
@ -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) {