removing Label and going with FormLabel

This commit is contained in:
Peter Holmberg
2019-01-16 18:02:27 +00:00
parent 01251927b3
commit 736db86d6e
9 changed files with 42 additions and 49 deletions

View File

@@ -1,6 +1,6 @@
import React, { PureComponent } from 'react';
import { Label, Select } from '@grafana/ui';
import { FormLabel, Select } from '@grafana/ui';
import { getBackendSrv, BackendSrv } from 'app/core/services/backend_srv';
import { DashboardSearchHit } from 'app/types';
@@ -99,12 +99,12 @@ export class SharedPreferences extends PureComponent<Props, State> {
/>
</div>
<div className="gf-form">
<Label
<FormLabel
width={11}
tooltip="Not finding dashboard you want? Star it first, then it should appear in this select box."
>
Home Dashboard
</Label>
</FormLabel>
<Select
value={dashboards.find(dashboard => dashboard.id === homeDashboardId)}
getOptionValue={i => i.id}