Skip to content

Commit 9b61acb

Browse files
committed
🐛 fix: remove trailing slash from sql path config
1 parent a2a4570 commit 9b61acb

File tree

3 files changed

+9
-4
lines changed

3 files changed

+9
-4
lines changed

CHANGELOG.md

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,16 @@
11
# Changelog
22

3-
## 1.1.2
3+
## 1.1.3
44

5-
- Use scoped Variables in template variable replacement
5+
- Add variable query support
6+
- Bugfix: Remove leading slash from SQL path in configuration
67

78
---
89

10+
## 1.1.2
11+
12+
- Use scoped Variables in template variable replacement
13+
914
### 1.1.0
1015

1116
- Adds proper type reflection to support all databricks data types. (except type `BINARY` which is not supported)

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "mullerpeter-databricks-datasource",
33
"private": true,
4-
"version": "1.1.2",
4+
"version": "1.1.3",
55
"description": "Databricks SQL Connector",
66
"scripts": {
77
"build": "grafana-toolkit plugin:build",

src/ConfigEditor.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ export class ConfigEditor extends PureComponent<Props, State> {
4040
...options,
4141
jsonData: {
4242
...options.jsonData,
43-
path: event.target.value,
43+
path: event.target.value.replace(/^\//, ''),
4444
},
4545
});
4646
};

0 commit comments

Comments
 (0)