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: [], 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", // name: "Login",
_component: "@budibase/standard-components/login", // _component: "@budibase/standard-components/login",
description: // description:
"A component that automatically generates a login screen for your app.", // "A component that automatically generates a login screen for your app.",
icon: "ri-login-box-line", // icon: "ri-login-box-line",
children: [], // children: [],
properties: { // properties: {
design: { ...all }, // design: { ...all },
settings: [ // settings: [
{ // {
label: "Name", // label: "Name",
key: "name", // key: "name",
control: Input, // control: Input,
}, // },
{ // {
label: "Logo", // label: "Logo",
key: "logo", // key: "logo",
control: Input, // control: Input,
}, // },
{ // {
label: "Title", // label: "Title",
key: "title", // key: "title",
control: Input, // control: Input,
}, // },
{ // {
label: "Button Text", // label: "Button Text",
key: "buttonText", // key: "buttonText",
control: Input, // control: Input,
}, // },
], // ],
}, // },
}, // },
], ],
}, },
], ],

View File

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