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:
Vikrant Gupta 2024-06-05 12:11:11 +05:30 committed by GitHub
parent 7e9bf2d48d
commit 2a3622130f
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
3 changed files with 6 additions and 2 deletions

View File

@ -22,6 +22,11 @@
}
.lightMode {
.main-container {
.plot-tag {
background: var(--bg-vanilla-300);
}
}
.ant-modal-content {
background-color: var(--bg-vanilla-100);
.ant-modal-confirm-title {

View File

@ -512,6 +512,7 @@ function FormAlertRules({
initialValues={initialValue}
layout="vertical"
form={formInstance}
className="main-container"
>
{currentQuery.queryType === EQueryType.QUERY_BUILDER &&
renderQBChartPreview()}

View File

@ -51,9 +51,7 @@ const generateTooltipContent = (
}
if (Array.isArray(series) && series.length > 0) {
console.log(series);
series.forEach((item, index) => {
console.log(item, index);
if (index === 0) {
if (isBillingUsageGraphs) {
tooltipTitle = dayjs(data[0][idx] * 1000).format('MMM DD YYYY');