bump bbui

This commit is contained in:
Keviin Åberg Kultalahti 2021-02-16 11:14:49 +01:00
parent 0f5e91b645
commit a3d053897f
4 changed files with 7 additions and 9 deletions

View File

@ -63,7 +63,7 @@
}
},
"dependencies": {
"@budibase/bbui": "^1.58.6",
"@budibase/bbui": "^1.58.7",
"@budibase/client": "^0.7.7",
"@budibase/colorpicker": "1.0.1",
"@budibase/string-templates": "^0.7.7",

View File

@ -252,8 +252,8 @@ export const getBackendUiStore = () => {
state.draftTable.primaryDisplay = field.name
}
// Set one-to-many
if (relationshipType) {
state.draftTable.relationshipType = field.name
if (field.type === 'link') {
state.draftTable.relationshipType = relationshipType
}
if (indexes) {

View File

@ -31,8 +31,6 @@
function getPrettyName(row) {
return row[linkedTable.primaryDisplay || "_id"]
}
$: console.log(schema.relationshipType)
</script>
{#if linkedTable.primaryDisplay == null}

View File

@ -842,10 +842,10 @@
lodash "^4.17.19"
to-fast-properties "^2.0.0"
"@budibase/bbui@^1.58.6":
version "1.58.6"
resolved "https://registry.yarnpkg.com/@budibase/bbui/-/bbui-1.58.6.tgz#ed74c99abdd61a2893cc30362ff893f98037fcce"
integrity sha512-xAKbQxucyVWLZGCaJiaacu1pyZX7vCqoPJJiQx/eF+7gX8uB1gCuzxhncM4ZaIwCCiuc51dD2Q19t3R4ObxxCA==
"@budibase/bbui@^1.58.7":
version "1.58.7"
resolved "https://registry.yarnpkg.com/@budibase/bbui/-/bbui-1.58.7.tgz#b9ae18fbd44f830fd8b11fd1dbfaf1212243c88b"
integrity sha512-Kp6iNFXov5DXOTR9860kBJv4zgFEycBw13pdZgcPUERI++OWHtisEo6fuHIEfQGeALif3QEcYwaGr/6pu76C4w==
dependencies:
markdown-it "^12.0.2"
quill "^1.3.7"