message: Query Browser: Hide graph empty state when hideGraphs is true
  This also fixes a bug where the graph was not re-rendered after clicking
  "Show graph".
diff: @@ -870,7 +870,11 @@ const Query = connect(
  queryDispatchToProps,
  )(Query_);
  -const QueryBrowserWrapper_: React.FC<QueryBrowserWrapperProps> = ({ patchQuery, queriesList }) => {
  +const QueryBrowserWrapper_: React.FC<QueryBrowserWrapperProps> = ({
  + hideGraphs,
  + patchQuery,
  + queriesList,
  +}) => {
  const { t } = useTranslation();
  const queries = queriesList.toJS();
  @@ -904,6 +908,10 @@ const QueryBrowserWrapper_: React.FC<QueryBrowserWrapperProps> = ({ patchQuery,
  setAllQueryArguments(newParams);
  }, [queryStrings]);
  + if (hideGraphs) {
  + return null;
  + }
  +
  const insertExampleQuery = () => {
  const focusedIndex = focusedQuery?.index ?? 0;
  const index = queries[focusedIndex] ? focusedIndex : 0;
  @@ -911,7 +919,8 @@ const QueryBrowserWrapper_: React.FC<QueryBrowserWrapperProps> = ({ patchQuery,
  patchQuery(index, { isEnabled: true, query: text, text });
  };
  - return queryStrings.join('') === '' ? (
  + if (queryStrings.join('') === '') {
  + return (
  <div className="query-browser__wrapper graph-empty-state">
  <EmptyState variant={EmptyStateVariant.full}>
  <EmptyStateIcon icon={ChartLineIcon} />
  @@ -926,7 +935,10 @@ const QueryBrowserWrapper_: React.FC<QueryBrowserWrapperProps> = ({ patchQuery,
  </Button>
  </EmptyState>
  </div>
  - ) : (
  + );
  + }
  +
  + return (
  <QueryBrowser
  defaultTimespan={30 * 60 * 1000}
  disabledSeries={disabledSeries}
  @@ -935,7 +947,10 @@ const QueryBrowserWrapper_: React.FC<QueryBrowserWrapperProps> = ({ patchQuery,
  );
  };
  const QueryBrowserWrapper = connect(
  - ({ UI }: RootState) => ({ queriesList: UI.getIn(['queryBrowser', 'queries']) }),
  + ({ UI }: RootState) => ({
  + hideGraphs: !!UI.getIn(['monitoring', 'hideGraphs']),
  + queriesList: UI.getIn(['queryBrowser', 'queries']),
  + }),
  { patchQuery: UIActions.queryBrowserPatchQuery },
  )(QueryBrowserWrapper_);
  @@ -1063,6 +1078,7 @@ type QueryBrowserPageProps = {
  };
  type QueryBrowserWrapperProps = {
  + hideGraphs: boolean;
  patchQuery: (index: number, patch: QueryObj) => any;
  queriesList: ImmutableList<QueryObj>;
  };
  