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)}