mirror of
https://git.mirrors.martin98.com/https://github.com/SigNoz/signoz
synced 2025-08-13 23:45:55 +08:00
fix: alerts builder light theme plot tag issue (#5146)
* fix: alerts builder light theme plot tag issue * fix: remove console logs
This commit is contained in:
parent
7e9bf2d48d
commit
2a3622130f
@ -22,6 +22,11 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
.lightMode {
|
.lightMode {
|
||||||
|
.main-container {
|
||||||
|
.plot-tag {
|
||||||
|
background: var(--bg-vanilla-300);
|
||||||
|
}
|
||||||
|
}
|
||||||
.ant-modal-content {
|
.ant-modal-content {
|
||||||
background-color: var(--bg-vanilla-100);
|
background-color: var(--bg-vanilla-100);
|
||||||
.ant-modal-confirm-title {
|
.ant-modal-confirm-title {
|
||||||
|
@ -512,6 +512,7 @@ function FormAlertRules({
|
|||||||
initialValues={initialValue}
|
initialValues={initialValue}
|
||||||
layout="vertical"
|
layout="vertical"
|
||||||
form={formInstance}
|
form={formInstance}
|
||||||
|
className="main-container"
|
||||||
>
|
>
|
||||||
{currentQuery.queryType === EQueryType.QUERY_BUILDER &&
|
{currentQuery.queryType === EQueryType.QUERY_BUILDER &&
|
||||||
renderQBChartPreview()}
|
renderQBChartPreview()}
|
||||||
|
@ -51,9 +51,7 @@ const generateTooltipContent = (
|
|||||||
}
|
}
|
||||||
|
|
||||||
if (Array.isArray(series) && series.length > 0) {
|
if (Array.isArray(series) && series.length > 0) {
|
||||||
console.log(series);
|
|
||||||
series.forEach((item, index) => {
|
series.forEach((item, index) => {
|
||||||
console.log(item, index);
|
|
||||||
if (index === 0) {
|
if (index === 0) {
|
||||||
if (isBillingUsageGraphs) {
|
if (isBillingUsageGraphs) {
|
||||||
tooltipTitle = dayjs(data[0][idx] * 1000).format('MMM DD YYYY');
|
tooltipTitle = dayjs(data[0][idx] * 1000).format('MMM DD YYYY');
|
||||||
|
Loading…
x
Reference in New Issue
Block a user