Fix some ESLInt warnings in JS script.
/* global jQuery3, echarts, portlet */
(function ($) {
-
portlet.getId(function (id) {
const chartDom = document.getElementById(id.responseObject());
itemStyle: {
color: '#e9e2d0'
}
- }, {
+ },
+ {
name: 'Normal-Prio',
value: sunburstData.new.normal,
itemStyle: {
color: '#ffcda3'
}
- }, {
+ },
+ {
name: 'High-Prio',
value: sunburstData.new.high,
itemStyle: {
color: '#ee9595'
}
- }, {
+ },
+ {
name: 'Error',
value: sunburstData.new.error,
itemStyle: {
option && portletChart.setOption(option);
});
-
})(jQuery3);
