1
0
Fork 0
mirror of synced 2024-06-29 11:31:06 +12:00

Remove leftover code and add proper comments to action types

This commit is contained in:
Andrew Kingston 2021-06-03 11:38:06 +01:00
parent 05a32bc009
commit 135c5df292
2 changed files with 7 additions and 8 deletions

View file

@ -5,11 +5,13 @@ import ExecuteQuery from "./ExecuteQuery.svelte"
import TriggerAutomation from "./TriggerAutomation.svelte"
import ValidateForm from "./ValidateForm.svelte"
// defines what actions are available, when adding a new one
// the component is the setup panel for the action
// NOTE that the "name" is used by the client library,
// so if you want to change it, you must change it client lib too
// Defines which actions are available to configure in the front end.
// Unfortunately the "name" property is used as the identifier so please don't
// change them.
// The client library removes any spaces when processing actions, so they can
// be considered as camel case too.
// There is technical debt here to sanitize all these and standardise them
// across the packages but it's a breaking change to existing apps.
export default [
{
name: "Save Row",

View file

@ -17,9 +17,6 @@
const { API, styleable, Provider, ActionTypes } = getContext("sdk")
const component = getContext("component")
const dataProviderApi = {
setLuceneQuery: newQuery => (query = newQuery),
}
// Loading flag every time data is being fetched
let loading = false