diff --git a/packages/builder/src/components/database/ModelDataTable/modals/RecordFieldControl.svelte b/packages/builder/src/components/database/ModelDataTable/modals/RecordFieldControl.svelte index c566e895d7..465ca29c42 100644 --- a/packages/builder/src/components/database/ModelDataTable/modals/RecordFieldControl.svelte +++ b/packages/builder/src/components/database/ModelDataTable/modals/RecordFieldControl.svelte @@ -36,7 +36,7 @@ class={determineClassName(type)} bind:value class:uk-form-danger={errors.length > 0}> - + {/each} diff --git a/packages/builder/src/components/nav/ModelSetupNav/ModelSetupNav.svelte b/packages/builder/src/components/nav/ModelSetupNav/ModelSetupNav.svelte index e1f4d3601b..6df1552129 100644 --- a/packages/builder/src/components/nav/ModelSetupNav/ModelSetupNav.svelte +++ b/packages/builder/src/components/nav/ModelSetupNav/ModelSetupNav.svelte @@ -59,7 +59,9 @@ if (field.name.startsWith("_")) { errors.push(`field '${field.name}' - name cannot begin with '_''`) } else if (restrictedFieldNames.includes(field.name)) { - errors.push(`field '${field.name}' - is a restricted name, please rename`) + errors.push( + `field '${field.name}' - is a restricted name, please rename` + ) } else if (!field.name || !field.name.trim()) { errors.push("field name cannot be blank") } @@ -75,9 +77,7 @@ async function saveModel() { const errors = validate() if (errors.length > 0) { - notifier.danger( - errors.join("/n") - ) + notifier.danger(errors.join("/n")) return } diff --git a/packages/builder/src/components/userInterface/AppPreview/CurrentItemPreview.svelte b/packages/builder/src/components/userInterface/AppPreview/CurrentItemPreview.svelte index abf226048b..88391bb955 100644 --- a/packages/builder/src/components/userInterface/AppPreview/CurrentItemPreview.svelte +++ b/packages/builder/src/components/userInterface/AppPreview/CurrentItemPreview.svelte @@ -25,69 +25,69 @@ name: "Screen Placeholder", route: "*", props: { - "_id": "49c3d0a2-7028-46f0-b004-7eddf62ad01c", - "_component": "@budibase/standard-components/container", - "_styles": { - "normal": { - "padding": "0px", + _id: "49c3d0a2-7028-46f0-b004-7eddf62ad01c", + _component: "@budibase/standard-components/container", + _styles: { + normal: { + padding: "0px", "font-family": "Roboto", "border-width": "0", "border-style": "None", - "text-align": "center" + "text-align": "center", }, - "hover": {}, - "active": {}, - "selected": {} + hover: {}, + active: {}, + selected: {}, }, - "_code": "", - "className": "", - "onLoad": [], - "type": "div", - "_children": [ + _code: "", + className: "", + onLoad: [], + type: "div", + _children: [ { - "_id": "335428f7-f9ca-4acd-9e76-71bc8ad27324", - "_component": "@budibase/standard-components/container", - "_styles": { - "normal": { - "padding": "16px", + _id: "335428f7-f9ca-4acd-9e76-71bc8ad27324", + _component: "@budibase/standard-components/container", + _styles: { + normal: { + padding: "16px", "border-style": "Dashed", "border-width": "2px", - "border-color": "#8a8989fa" + "border-color": "#8a8989fa", }, - "hover": {}, - "active": {}, - "selected": {} + hover: {}, + active: {}, + selected: {}, }, - "_code": "", - "className": "", - "onLoad": [], - "type": "div", - "_instanceId": "inst_b3b4e95_ab0df02dda3f4d8eb4b35eea2968bad3", - "_instanceName": "Container", - "_children": [ + _code: "", + className: "", + onLoad: [], + type: "div", + _instanceId: "inst_b3b4e95_ab0df02dda3f4d8eb4b35eea2968bad3", + _instanceName: "Container", + _children: [ { - "_id": "ddb6a225-33ba-4ba8-91da-bc6a2697ebf9", - "_component": "@budibase/standard-components/heading", - "_styles": { - "normal": { - "font-family": "Roboto" + _id: "ddb6a225-33ba-4ba8-91da-bc6a2697ebf9", + _component: "@budibase/standard-components/heading", + _styles: { + normal: { + "font-family": "Roboto", }, - "hover": {}, - "active": {}, - "selected": {} + hover: {}, + active: {}, + selected: {}, }, - "_code": "", - "className": "", - "text": "Your screens go here", - "type": "h1", - "_instanceId": "inst_b3b4e95_ab0df02dda3f4d8eb4b35eea2968bad3", - "_instanceName": "Heading", - "_children": [] - } - ] - } + _code: "", + className: "", + text: "Your screens go here", + type: "h1", + _instanceId: "inst_b3b4e95_ab0df02dda3f4d8eb4b35eea2968bad3", + _instanceName: "Heading", + _children: [], + }, + ], + }, ], - "_instanceName": "Content Placeholder" + _instanceName: "Content Placeholder", }, } diff --git a/packages/builder/src/components/userInterface/Colorpicker/components/CheckedBackground.svelte b/packages/builder/src/components/userInterface/Colorpicker/components/CheckedBackground.svelte index 2baa6b466e..6faaf56f30 100644 --- a/packages/builder/src/components/userInterface/Colorpicker/components/CheckedBackground.svelte +++ b/packages/builder/src/components/userInterface/Colorpicker/components/CheckedBackground.svelte @@ -1,5 +1,5 @@ diff --git a/packages/builder/src/components/userInterface/Colorpicker/components/FlatButton.svelte b/packages/builder/src/components/userInterface/Colorpicker/components/FlatButton.svelte index a8da25706a..bd8adc1c86 100644 --- a/packages/builder/src/components/userInterface/Colorpicker/components/FlatButton.svelte +++ b/packages/builder/src/components/userInterface/Colorpicker/components/FlatButton.svelte @@ -1,6 +1,6 @@ -
dispatch("click")}} class:selected on:click>{text}
+
dispatch('click') }} + class:selected + on:click> + {text} +