diff --git a/ui/src/dashboards/components/DashboardHeader.js b/ui/src/dashboards/components/DashboardHeader.js index a0da3b0a67..66b4839eb6 100644 --- a/ui/src/dashboards/components/DashboardHeader.js +++ b/ui/src/dashboards/components/DashboardHeader.js @@ -64,7 +64,7 @@ const DashboardHeader = ({ : null} {dashboard ?
this.handleChange(e.target.value)} onKeyUp={this.handleKeyUp} autoFocus={true} diff --git a/ui/src/dashboards/components/TemplateControlBar.js b/ui/src/dashboards/components/TemplateControlBar.js index 9e32e2a983..61fca7ae25 100644 --- a/ui/src/dashboards/components/TemplateControlBar.js +++ b/ui/src/dashboards/components/TemplateControlBar.js @@ -20,28 +20,6 @@ const TemplateControlBar = ({ const selectedItem = items.find(item => item.selected) || items[0] const selectedText = selectedItem && selectedItem.text -<<<<<<< HEAD - // TODO: change Dropdown to a MultiSelectDropdown, `selected` to - // the full array, and [item] to all `selected` values when we update - // this component to support multiple values - return ( -
- - onSelectTemplate(id, [item].map(x => omit(x, 'text')))} - /> - -
- ) - })} -======= // TODO: change Dropdown to a MultiSelectDropdown, `selected` to // the full array, and [item] to all `selected` values when we update // this component to support multiple values @@ -50,6 +28,7 @@ const TemplateControlBar = ({ @@ -72,7 +51,6 @@ const TemplateControlBar = ({ Manage ->>>>>>> master
) diff --git a/ui/src/style/components/template-control-bar.scss b/ui/src/style/components/template-control-bar.scss index aab34e1172..9c35bdd36c 100644 --- a/ui/src/style/components/template-control-bar.scss +++ b/ui/src/style/components/template-control-bar.scss @@ -70,6 +70,7 @@ button.btn.template-control--manage { font-size: 12px; font-family: $code-font; } +} .template-control--label { @include no-user-select(); order: 1;