From 7ff979aaef3030a4d3c397c0ba8f819daebad0b3 Mon Sep 17 00:00:00 2001 From: Delmer Reed Date: Fri, 22 Jun 2018 16:08:17 -0400 Subject: [PATCH] Update hosts page optionsComponents to be a getter --- ui/src/hosts/containers/HostsPage.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ui/src/hosts/containers/HostsPage.js b/ui/src/hosts/containers/HostsPage.js index 1a26cd764..1dd225119 100644 --- a/ui/src/hosts/containers/HostsPage.js +++ b/ui/src/hosts/containers/HostsPage.js @@ -116,7 +116,7 @@ export class HostsPage extends Component {
@@ -137,7 +137,7 @@ export class HostsPage extends Component { ) } - optionsComponents = () => { + get optionsComponents() { const {autoRefresh, onChooseAutoRefresh, onManualRefresh} = this.props return (