plugin > analytics > chart > caption : sort alpahetically
All checks were successful
Deploy Preprod / Build and Deploy to Preprod (push) Successful in 31s
All checks were successful
Deploy Preprod / Build and Deploy to Preprod (push) Successful in 31s
This commit is contained in:
parent
bcead4e694
commit
075e511a6a
2 changed files with 2 additions and 2 deletions
|
|
@ -11604,7 +11604,7 @@ var __publicField = (obj, key, value) => __defNormalProp(obj, typeof key !== "sy
|
|||
let maxValue;
|
||||
if (showPerPage) {
|
||||
const topPages = this.data.visitsByPage ? Object.keys(this.data.visitsByPage) : [];
|
||||
const pages = topPages;
|
||||
const pages = topPages.sort((a, b) => a.localeCompare(b));
|
||||
datasets = pages.map((page, i) => {
|
||||
const color2 = CHART_COLORS[i % CHART_COLORS.length];
|
||||
const values = allDays.map(
|
||||
|
|
|
|||
|
|
@ -276,7 +276,7 @@ export default {
|
|||
const topPages = this.data.visitsByPage
|
||||
? Object.keys(this.data.visitsByPage)
|
||||
: [];
|
||||
const pages = topPages;
|
||||
const pages = topPages.sort((a, b) => a.localeCompare(b));
|
||||
datasets = pages.map((page, i) => {
|
||||
const color = CHART_COLORS[i % CHART_COLORS.length];
|
||||
const values = allDays.map(
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue