Skip to content

Commit 1a5cf9c

Browse files
authored
Merge pull request #1866 from merico-dev/variables-editor-error-handling
variables editor error handling
2 parents 96091b0 + 94d5466 commit 1a5cf9c

File tree

4 files changed

+8
-6
lines changed

4 files changed

+8
-6
lines changed

api/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@devtable/api",
3-
"version": "14.58.10",
3+
"version": "14.58.11",
44
"description": "",
55
"main": "index.js",
66
"scripts": {

dashboard/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@devtable/dashboard",
3-
"version": "14.58.10",
3+
"version": "14.58.11",
44
"license": "Apache-2.0",
55
"repository": {
66
"url": "https://github.com/merico-dev/table"

dashboard/src/dashboard-editor/ui/settings/content/edit-panel/panel-editor.tsx

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -181,9 +181,11 @@ export const PanelEditor = observer(({ panel }: { panel: PanelModelInstance }) =
181181
</Tabs.Panel>
182182

183183
<Tabs.Panel value="Variables">
184-
<WithPreview>
185-
<VariablesEditor />
186-
</WithPreview>
184+
<ErrorBoundary>
185+
<WithPreview>
186+
<VariablesEditor />
187+
</WithPreview>
188+
</ErrorBoundary>
187189
</Tabs.Panel>
188190

189191
<Tabs.Panel value="Visualization">

settings-form/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@devtable/settings-form",
3-
"version": "14.58.10",
3+
"version": "14.58.11",
44
"license": "Apache-2.0",
55
"repository": {
66
"url": "https://github.com/merico-dev/table"

0 commit comments

Comments
 (0)