update row_save event

This commit is contained in:
Martin McKeaveney 2020-10-14 15:06:48 +01:00
parent d2a7bf55a7
commit db72b29eaf
2 changed files with 45 additions and 53 deletions

View File

@ -1165,14 +1165,6 @@ export default {
},
children: [],
},
// {
// name: "Map",
// _component: "@budibase/standard-components/datamap",
// description: "Shiny map",
// icon: "ri-map-pin-line",
// properties: { design: { ...all } },
// children: [],
// },
],
},
{
@ -1206,39 +1198,39 @@ export default {
],
},
},
{
name: "Login",
_component: "@budibase/standard-components/login",
description:
"A component that automatically generates a login screen for your app.",
icon: "ri-login-box-line",
children: [],
properties: {
design: { ...all },
settings: [
{
label: "Name",
key: "name",
control: Input,
},
{
label: "Logo",
key: "logo",
control: Input,
},
{
label: "Title",
key: "title",
control: Input,
},
{
label: "Button Text",
key: "buttonText",
control: Input,
},
],
},
},
// {
// name: "Login",
// _component: "@budibase/standard-components/login",
// description:
// "A component that automatically generates a login screen for your app.",
// icon: "ri-login-box-line",
// children: [],
// properties: {
// design: { ...all },
// settings: [
// {
// label: "Name",
// key: "name",
// control: Input,
// },
// {
// label: "Logo",
// key: "logo",
// control: Input,
// },
// {
// label: "Title",
// key: "title",
// control: Input,
// },
// {
// label: "Button Text",
// key: "buttonText",
// control: Input,
// },
// ],
// },
// },
],
},
],

View File

@ -107,7 +107,7 @@ exports.save = async function(ctx) {
// make sure link rows are up to date
row = await linkRows.updateLinks({
instanceId,
eventType: linkRows.EventType.RECORD_SAVE,
eventType: linkRows.EventType.ROW_SAVE,
row,
tableId: row.tableId,
table,