Skip to content
Snippets Groups Projects
Commit ec14216a authored by Dominik František Bučík's avatar Dominik František Bučík
Browse files

chore: merge branch 'prettier' into 'main'

style: :lipstick: Prettier fix

See merge request perun-proxy-aai/simplesamlphp/simplesamlphp-module-proxystatistics!90
parents 8cd4863b 4f61cdf9
No related branches found
No related tags found
1 merge request!90style: 💄 Prettier fix
Pipeline #296676 passed with warnings
...@@ -229,7 +229,7 @@ function drawPieChart(dataName, viewCols, url, getEl) { ...@@ -229,7 +229,7 @@ function drawPieChart(dataName, viewCols, url, getEl) {
var processedData = processDataForPieChart( var processedData = processDataForPieChart(
getStatisticsData(dataName), getStatisticsData(dataName),
viewCols viewCols,
); );
var data = processedData.data; var data = processedData.data;
...@@ -291,7 +291,7 @@ function drawPieChart(dataName, viewCols, url, getEl) { ...@@ -291,7 +291,7 @@ function drawPieChart(dataName, viewCols, url, getEl) {
evt, evt,
"nearest", "nearest",
{ intersect: true }, { intersect: true },
false false,
); );
if (activePoints.length) { if (activePoints.length) {
window.location.href = window.location.href =
...@@ -306,7 +306,7 @@ function getDrawChart(side) { ...@@ -306,7 +306,7 @@ function getDrawChart(side) {
null, null,
"loginCountPer" + side, "loginCountPer" + side,
[0, 2], [0, 2],
getStatisticsData("module_url_base") + "detail.php?side=" + side + "&id=" getStatisticsData("module_url_base") + "detail.php?side=" + side + "&id=",
); );
} }
...@@ -317,7 +317,7 @@ function drawCountTable( ...@@ -317,7 +317,7 @@ function drawCountTable(
dataName, dataName,
allowHTML, allowHTML,
url, url,
getEl getEl,
) { ) {
var el = getEl(); var el = getEl();
if (!el) return; if (!el) return;
...@@ -384,7 +384,7 @@ function getDrawTable(side) { ...@@ -384,7 +384,7 @@ function getDrawTable(side) {
2, 2,
"loginCountPer" + side, "loginCountPer" + side,
false, false,
getStatisticsData("module_url_base") + "detail.php?side=" + side + "&id=" getStatisticsData("module_url_base") + "detail.php?side=" + side + "&id=",
); );
} }
...@@ -396,7 +396,7 @@ function getDrawCountTable(side) { ...@@ -396,7 +396,7 @@ function getDrawCountTable(side) {
2, 2,
"accessCounts", "accessCounts",
true, true,
null null,
); );
} }
...@@ -421,7 +421,7 @@ function chartInit() { ...@@ -421,7 +421,7 @@ function chartInit() {
idLoadCallback(side + "Table", getDrawTable(side)); idLoadCallback(side + "Table", getDrawTable(side));
idLoadCallback( idLoadCallback(
"detail" + side + "Chart", "detail" + side + "Chart",
drawPieChart.bind(null, "accessCounts", [0, 2], null) drawPieChart.bind(null, "accessCounts", [0, 2], null),
); );
idLoadCallback("detail" + side + "Table", getDrawCountTable(side)); idLoadCallback("detail" + side + "Table", getDrawCountTable(side));
}); });
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment