Merge pull request #1168 from Budibase/fix/budi-day-bug-list

Fix/dot notation grid fix
This commit is contained in:
Kevin Åberg Kultalahti 2021-02-24 12:54:29 +01:00 committed by GitHub
commit 50d25e14c3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
8 changed files with 12 additions and 15 deletions

View File

@ -67,7 +67,7 @@
"@budibase/client": "^0.7.8", "@budibase/client": "^0.7.8",
"@budibase/colorpicker": "1.0.1", "@budibase/colorpicker": "1.0.1",
"@budibase/string-templates": "^0.7.8", "@budibase/string-templates": "^0.7.8",
"@budibase/svelte-ag-grid": "^0.0.16", "@budibase/svelte-ag-grid": "^1.0.4",
"@sentry/browser": "5.19.1", "@sentry/browser": "5.19.1",
"@svelteschool/svelte-forms": "0.7.0", "@svelteschool/svelte-forms": "0.7.0",
"codemirror": "^5.59.0", "codemirror": "^5.59.0",

View File

@ -9,7 +9,6 @@
$: instanceId = $backendUiStore.selectedDatabase._id $: instanceId = $backendUiStore.selectedDatabase._id
$: automation = $automationStore.selectedAutomation?.automation $: automation = $automationStore.selectedAutomation?.automation
$: name = automation?.name ?? ""
$: automationLive = automation?.live $: automationLive = automation?.live
function setAutomationLive(live) { function setAutomationLive(live) {

View File

@ -37,6 +37,7 @@
rowSelection: allowEditing ? "multiple" : false, rowSelection: allowEditing ? "multiple" : false,
rowMultiSelectWithClick: true, rowMultiSelectWithClick: true,
suppressRowClickSelection: false, suppressRowClickSelection: false,
suppressFieldDotNotation: true,
paginationAutoPageSize: true, paginationAutoPageSize: true,
pagination: true, pagination: true,
enableRangeSelection: true, enableRangeSelection: true,

View File

@ -54,10 +54,6 @@
dispatch("update", originalValue) dispatch("update", originalValue)
bindingDrawer.close() bindingDrawer.close()
} }
function updateValue({ detail }) {
value = detail.value
}
</script> </script>
<div class="drawer-contents"> <div class="drawer-contents">

View File

@ -838,10 +838,10 @@
resolved "https://registry.yarnpkg.com/@budibase/colorpicker/-/colorpicker-1.0.1.tgz#940c180e7ebba0cb0756c4c8ef13f5dfab58e810" resolved "https://registry.yarnpkg.com/@budibase/colorpicker/-/colorpicker-1.0.1.tgz#940c180e7ebba0cb0756c4c8ef13f5dfab58e810"
integrity sha512-+DTHYhU0sTi5RfCyd7AAvMsLFwyF/wgs0owf7KyQU+ZILRW+YsWa7OQMz+hKQfgVAmvzwrNz8ATiBlG3Ac6Asg== integrity sha512-+DTHYhU0sTi5RfCyd7AAvMsLFwyF/wgs0owf7KyQU+ZILRW+YsWa7OQMz+hKQfgVAmvzwrNz8ATiBlG3Ac6Asg==
"@budibase/svelte-ag-grid@^0.0.16": "@budibase/svelte-ag-grid@^1.0.4":
version "0.0.16" version "1.0.4"
resolved "https://registry.yarnpkg.com/@budibase/svelte-ag-grid/-/svelte-ag-grid-0.0.16.tgz#1b91dc1e27dad034b827dc7b258fa16d3d3bf68f" resolved "https://registry.yarnpkg.com/@budibase/svelte-ag-grid/-/svelte-ag-grid-1.0.4.tgz#41cceec4bde2c4aea8b9da8f610fe36055c7709f"
integrity sha512-Yxnfe03Mo7VhuB4wJSGNoc8jaorH9lertptPt2halef9Z93kkYwdwpldnWVzQT07YdX6soPaVLhupxKrI5Hvtw== integrity sha512-JZm6qujxnZpqw7Twbegr6se4sHhyWzN0Cibrk5bVBH32hBgzD6dd33fxwrjHKkWFxjys9wRT+cqYgYVlSt9E3w==
dependencies: dependencies:
ag-grid-community "^24.0.0" ag-grid-community "^24.0.0"

View File

@ -41,7 +41,7 @@
"dependencies": { "dependencies": {
"@adobe/spectrum-css-workflow-icons": "^1.1.0", "@adobe/spectrum-css-workflow-icons": "^1.1.0",
"@budibase/bbui": "^1.58.13", "@budibase/bbui": "^1.58.13",
"@budibase/svelte-ag-grid": "^0.0.16", "@budibase/svelte-ag-grid": "^1.0.4",
"@spectrum-css/actionbutton": "^1.0.0-beta.1", "@spectrum-css/actionbutton": "^1.0.0-beta.1",
"@spectrum-css/button": "^3.0.0-beta.6", "@spectrum-css/button": "^3.0.0-beta.6",
"@spectrum-css/checkbox": "^3.0.0-beta.6", "@spectrum-css/checkbox": "^3.0.0-beta.6",

View File

@ -52,6 +52,7 @@
filter: true, filter: true,
}, },
rowSelection: canEdit ? "multiple" : false, rowSelection: canEdit ? "multiple" : false,
suppressFieldDotNotation: true,
suppressRowClickSelection: !canEdit, suppressRowClickSelection: !canEdit,
paginationAutoPageSize: true, paginationAutoPageSize: true,
pagination, pagination,

View File

@ -56,10 +56,10 @@
svelte-portal "^1.0.0" svelte-portal "^1.0.0"
turndown "^7.0.0" turndown "^7.0.0"
"@budibase/svelte-ag-grid@^0.0.16": "@budibase/svelte-ag-grid@^1.0.4":
version "0.0.16" version "1.0.4"
resolved "https://registry.yarnpkg.com/@budibase/svelte-ag-grid/-/svelte-ag-grid-0.0.16.tgz#1b91dc1e27dad034b827dc7b258fa16d3d3bf68f" resolved "https://registry.yarnpkg.com/@budibase/svelte-ag-grid/-/svelte-ag-grid-1.0.4.tgz#41cceec4bde2c4aea8b9da8f610fe36055c7709f"
integrity sha512-Yxnfe03Mo7VhuB4wJSGNoc8jaorH9lertptPt2halef9Z93kkYwdwpldnWVzQT07YdX6soPaVLhupxKrI5Hvtw== integrity sha512-JZm6qujxnZpqw7Twbegr6se4sHhyWzN0Cibrk5bVBH32hBgzD6dd33fxwrjHKkWFxjys9wRT+cqYgYVlSt9E3w==
dependencies: dependencies:
ag-grid-community "^24.0.0" ag-grid-community "^24.0.0"