File tree Expand file tree Collapse file tree 1 file changed +6
-2
lines changed
static/app/views/explore/metrics/metricToolbar Expand file tree Collapse file tree 1 file changed +6
-2
lines changed Original file line number Diff line number Diff line change @@ -18,7 +18,9 @@ export function DeleteMetricButton({disabled}: {disabled?: boolean}) {
1818 size = "zero"
1919 onClick = { removeMetric }
2020 disabled = { disabled }
21- title = { disabled ? t ( 'This metric is used in an equation' ) : undefined }
21+ tooltipProps = { {
22+ title : disabled ? t ( 'This metric is used in an equation' ) : undefined ,
23+ } }
2224 aria-label = { t ( 'Delete Metric' ) }
2325 />
2426 ) ;
@@ -31,7 +33,9 @@ export function DeleteMetricButton({disabled}: {disabled?: boolean}) {
3133 aria-label = { t ( 'Delete metric' ) }
3234 onClick = { removeMetric }
3335 disabled = { disabled }
34- title = { disabled ? t ( 'This metric is used in an equation' ) : undefined }
36+ tooltipProps = { {
37+ title : disabled ? t ( 'This metric is used in an equation' ) : undefined ,
38+ } }
3539 />
3640 ) ;
3741}
You can’t perform that action at this time.
0 commit comments