From 4ccbabeb4ea6608963411b67d30da2415aa4f565 Mon Sep 17 00:00:00 2001 From: Jonathan Budzenski Date: Tue, 11 Dec 2018 14:10:54 -0600 Subject: [PATCH] fix lint errors (#26985) --- x-pack/plugins/canvas/canvas_plugin_src/uis/tags/index.js | 8 ++++---- .../public/components/workpad_loader/workpad_loader.js | 5 +++-- 2 files changed, 7 insertions(+), 6 deletions(-) diff --git a/x-pack/plugins/canvas/canvas_plugin_src/uis/tags/index.js b/x-pack/plugins/canvas/canvas_plugin_src/uis/tags/index.js index 5fce8ecb535f65..51d1a866624c64 100644 --- a/x-pack/plugins/canvas/canvas_plugin_src/uis/tags/index.js +++ b/x-pack/plugins/canvas/canvas_plugin_src/uis/tags/index.js @@ -1,8 +1,8 @@ /* -* Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one -* or more contributor license agreements. Licensed under the Elastic License; -* you may not use this file except in compliance with the Elastic License. -*/ + * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one + * or more contributor license agreements. Licensed under the Elastic License; + * you may not use this file except in compliance with the Elastic License. + */ import { presentation } from './presentation'; diff --git a/x-pack/plugins/canvas/public/components/workpad_loader/workpad_loader.js b/x-pack/plugins/canvas/public/components/workpad_loader/workpad_loader.js index 246534a9dffbf7..70a951c892eb39 100644 --- a/x-pack/plugins/canvas/public/components/workpad_loader/workpad_loader.js +++ b/x-pack/plugins/canvas/public/components/workpad_loader/workpad_loader.js @@ -371,8 +371,9 @@ export class WorkpadLoader extends React.PureComponent { {createPending &&
Creating Workpad...
} - {!createPending && - isLoading &&
Fetching Workpads...
} + {!createPending && isLoading && ( +
Fetching Workpads...
+ )} {!createPending && !isLoading && this.renderWorkpadTable(pagination)}