Skip to content

Commit

Permalink
release-7.2.4
Browse files Browse the repository at this point in the history
  • Loading branch information
dnlbln committed Feb 8, 2023
1 parent 7f93b78 commit cdb8fe5
Show file tree
Hide file tree
Showing 5 changed files with 9 additions and 8 deletions.
2 changes: 1 addition & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ language: node_js
node_js:
- '18'
install:
- npm set-script prepare ""
- npm pkg delete scripts.prepare
- npm install
before_script:
- DOCKER_IMAGE_NAME="q-table"
Expand Down
2 changes: 1 addition & 1 deletion dist/Q-Table.js

Large diffs are not rendered by default.

7 changes: 4 additions & 3 deletions dist/routes.js
Original file line number Diff line number Diff line change
Expand Up @@ -990,8 +990,9 @@ function getCategoricalLegend(data, colorColumnSettings) {
*/
function getCategoryColor(index, customColorMap) {
const colorScheme = digitWords[index];
const customColor = customColorMap.get(index);
let colorClass = '';
// The map starts at index 1 so we have to offset the index by 1.
const customColor = customColorMap.get(index + 1);
if (colorScheme) {
colorClass = `s-viz-color-${colorScheme}-5`;
}
Expand Down Expand Up @@ -15744,12 +15745,12 @@ var options = {
{
textColor: "dark",
color: "pink",
position: 0
position: 1
},
{
textColor: "dark",
color: "lightblue",
position: 1
position: 2
}
],
customCategoriesOrder: [
Expand Down
4 changes: 2 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "q-table",
"version": "7.2.3",
"version": "7.2.4",
"description": "",
"main": "index.js",
"type": "module",
Expand Down

0 comments on commit cdb8fe5

Please sign in to comment.