Skip to content

Commit

Permalink
Nextcloud Tables name with "-" #380
Browse files Browse the repository at this point in the history
  • Loading branch information
Rello committed Dec 10, 2023
1 parent bbc2097 commit 257f4f0
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
2 changes: 2 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,11 @@
- flow event listener for NC28
- css adjustment for NC28
- scss removal (<26)
- min version 26

### Fixed
- missing back button when no data sets exist yet
- Nextcloud Tables name with "-" #380

## 4.11.1 - 2023-11-20
### Fixed
Expand Down
3 changes: 2 additions & 1 deletion js/app.js
Original file line number Diff line number Diff line change
Expand Up @@ -1394,7 +1394,8 @@ OCA.Analytics.Datasource = {
// if options are split with "-", they are considered as value/key pairs
let selectOptions = templateOption.placeholder.split("/")
for (let selectOption of selectOptions) {
let keyValue = selectOption.split('-');
let index = selectOption.indexOf('-');
let keyValue = [selectOption.substring(0, index), selectOption.substring(index + 1)];
value = selectOption;
text = selectOption;
if (keyValue.length >> 1) {
Expand Down

0 comments on commit 257f4f0

Please sign in to comment.