message: fix: resolved issue with promql rule creation
diff: @@ -177,6 +177,7 @@ function FormAlertRules({
  return false;
  }
  + if (queryCategory === EQueryType.QUERY_BUILDER) {
  Object.keys(metricQueries).forEach((key) => {
  if (metricQueries[key].metricName === '') {
  retval = false;
  @@ -186,7 +187,6 @@ function FormAlertRules({
  });
  }
  });
  -
  Object.keys(formulaQueries).forEach((key) => {
  if (formulaQueries[key].expression === '') {
  retval = false;
  @@ -196,6 +196,7 @@ function FormAlertRules({
  });
  }
  });
  + }
  return retval;
  }, [t, alertDef, queryCategory, metricQueries, formulaQueries, promQueries]);
  @@ -235,7 +236,7 @@ function FormAlertRules({
  description:
  !ruleId || ruleId === 0 ? t('rule_created') : t('rule_edited'),
  });
  - console.log('invalidting cache');
  +
  // invalidate rule in cache
  ruleCache.invalidateQueries(['ruleId', ruleId]);
  