1
0
Fork 0
mirror of synced 2024-07-02 04:50:44 +12:00

Merge pull request #709 from Budibase/replace-screen-template-datatable

Replace screen template datatable
This commit is contained in:
Martin McKeaveney 2020-10-13 08:16:31 +01:00 committed by GitHub
commit 4bacae5859
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 1 additions and 33 deletions

View file

@ -86,7 +86,7 @@ const createScreen = model => ({
},
{
_id: "",
_component: "@budibase/standard-components/datatable",
_component: "@budibase/standard-components/datagrid",
_styles: {
normal: {},
hover: {},
@ -100,10 +100,6 @@ const createScreen = model => ({
modelId: model._id,
isModel: true,
},
stripeColor: "",
borderColor: "",
backgroundColor: "",
color: "",
_instanceName: `${model.name} Table`,
_children: [],
},

View file

@ -54,34 +54,6 @@
"_instanceId": "inst_cf8ace4_69efc0d72e6f443db2d4c902c14d9394",
"_instanceName": "Home Link",
"_children": []
},
{
"_id": "d3325634-0945-4387-8bb3-d9d9be186c1c",
"_component": "@budibase/standard-components/link",
"_styles": {
"normal": {
"font-family": "Inter",
"font-weight": "400",
"color": "#000000",
"text-decoration-line": "none",
"font-size": "16px"
},
"hover": {},
"active": {},
"selected": {}
},
"_code": "",
"url": "/screen1",
"openInNewTab": false,
"text": "Screen 1",
"color": "",
"hoverColor": "",
"underline": false,
"fontSize": "",
"fontFamily": "initial",
"_instanceId": "inst_cf8ace4_69efc0d72e6f443db2d4c902c14d9394",
"_instanceName": "Screen 1 Link",
"_children": []
}
]
},