✨ lint
This commit is contained in:
parent
72e3070ad2
commit
8cd5076f96
|
@ -93,7 +93,7 @@
|
|||
{...props}
|
||||
name={key} />
|
||||
</div>
|
||||
{#if control === Input && !key.startsWith("_")}
|
||||
{#if control === Input && !key.startsWith('_')}
|
||||
<button data-cy={`${key}-binding-button`} on:click={dropdown.show}>
|
||||
<Icon name="edit" />
|
||||
</button>
|
||||
|
|
|
@ -516,10 +516,30 @@ export default {
|
|||
key: "datasource",
|
||||
control: ModelViewSelect,
|
||||
},
|
||||
{ label: "Stripe Color", key: "stripeColor", control: Colorpicker, defaultValue: "#FFFFFF" },
|
||||
{ label: "Border Color", key: "borderColor", control: Colorpicker, defaultValue: "#FFFFFF" },
|
||||
{ label: "TH Color", key: "backgroundColor", control: Colorpicker, defaultValue: "#FFFFFF" },
|
||||
{ label: "TH Font Color", key: "color", control: Colorpicker, defaultValue: "#FFFFFF" },
|
||||
{
|
||||
label: "Stripe Color",
|
||||
key: "stripeColor",
|
||||
control: Colorpicker,
|
||||
defaultValue: "#FFFFFF",
|
||||
},
|
||||
{
|
||||
label: "Border Color",
|
||||
key: "borderColor",
|
||||
control: Colorpicker,
|
||||
defaultValue: "#FFFFFF",
|
||||
},
|
||||
{
|
||||
label: "TH Color",
|
||||
key: "backgroundColor",
|
||||
control: Colorpicker,
|
||||
defaultValue: "#FFFFFF",
|
||||
},
|
||||
{
|
||||
label: "TH Font Color",
|
||||
key: "color",
|
||||
control: Colorpicker,
|
||||
defaultValue: "#FFFFFF",
|
||||
},
|
||||
{ label: "Table", key: "model", control: ModelSelect },
|
||||
],
|
||||
},
|
||||
|
|
|
@ -105,7 +105,7 @@ function viewTemplate({ field, modelId, groupBy, filters = [], calculation }) {
|
|||
if (calculation) {
|
||||
schema = {
|
||||
...(groupBy ? GROUP_PROPERTY : FIELD_PROPERTY),
|
||||
...SCHEMA_MAP[calculation]
|
||||
...SCHEMA_MAP[calculation],
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
@ -41,7 +41,6 @@
|
|||
([field, message]) => `${field} ${message}`
|
||||
)
|
||||
|
||||
|
||||
async function fetchModel() {
|
||||
const FETCH_MODEL_URL = `/api/models/${model}`
|
||||
const response = await _bb.api.get(FETCH_MODEL_URL)
|
||||
|
|
Loading…
Reference in New Issue