fix(ui): fix custom metric modal
This commit is contained in:
parent
afedcb52d6
commit
f585565b02
1 changed files with 1 additions and 1 deletions
|
|
@ -77,7 +77,7 @@ function AddMetric({ metrics, history, siteId, title, description }: IProps) {
|
|||
{'Selected '}
|
||||
<span className="font-semibold">{selectedWidgetIds.length}</span>
|
||||
{' out of '}
|
||||
<span className="font-semibold">{metrics.length}</span>
|
||||
<span className="font-semibold">{metrics ? metrics.length : 0}</span>
|
||||
</div>
|
||||
<Button variant="primary" disabled={selectedWidgetIds.length === 0} onClick={onSave}>
|
||||
Add Selected
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue