1
0
Fork 0
mirror of synced 2024-09-09 22:16:26 +12:00
This commit is contained in:
Gerard Burns 2024-05-13 22:42:09 +01:00
parent 5cee165db0
commit ca452d7dce
3 changed files with 2 additions and 2 deletions

View file

@ -37,7 +37,6 @@
"downloadjs": "1.4.7",
"html5-qrcode": "^2.2.1",
"leaflet": "^1.7.1",
"lodash": "^4.17.21",
"sanitize-html": "^2.7.0",
"screenfull": "^6.0.1",
"shortid": "^2.2.15",

View file

@ -10,7 +10,7 @@
export let options
// Apex charts directly modifies the options object with default properties and internal variables. These being present could unintentionally cause issues to the provider of this prop as the changes are reflected in that component as well. To prevent any issues we clone options here to provide a buffer.
$: optionsCopy = cloneDeep(options)
$: optionsCopy = structuredClone(options)
let chartElement
let chart

View file

@ -20,6 +20,7 @@ export async function fetchAppComponentDefinitions(ctx: UserCtx) {
const definitions: { [key: string]: any } = {}
for (let { manifest, library } of componentManifests) {
for (let key of Object.keys(manifest)) {
// These keys are not components, and should not be preprended with the `@budibase/` prefix
if (key === "features" || key === "typeSupportPresets") {
definitions[key] = manifest[key]
} else {