From d5ba6538a956f6987285f60e3126626ad78abd64 Mon Sep 17 00:00:00 2001 From: sitbubu Date: Mon, 20 Jun 2022 09:32:45 +0300 Subject: [PATCH] Simplified header and import from src Signed-off-by: sitbubu --- .../saved_object/saved_object_loader.test.ts | 27 +------------------ .../application/utils/get_table_columns.tsx | 2 +- 2 files changed, 2 insertions(+), 27 deletions(-) diff --git a/src/plugins/saved_objects/public/saved_object/saved_object_loader.test.ts b/src/plugins/saved_objects/public/saved_object/saved_object_loader.test.ts index 95fdc94ff862..bf0efbe50377 100644 --- a/src/plugins/saved_objects/public/saved_object/saved_object_loader.test.ts +++ b/src/plugins/saved_objects/public/saved_object/saved_object_loader.test.ts @@ -1,31 +1,6 @@ /* + * Copyright OpenSearch Contributors * SPDX-License-Identifier: Apache-2.0 - * - * The OpenSearch Contributors require contributions made to - * this file be licensed under the Apache-2.0 license or a - * compatible open source license. - * - * Any modifications Copyright OpenSearch Contributors. See - * GitHub history for details. - */ - -/* - * Licensed to Elasticsearch B.V. under one or more contributor - * license agreements. See the NOTICE file distributed with - * this work for additional information regarding copyright - * ownership. Elasticsearch B.V. licenses this file to you under - * the Apache License, Version 2.0 (the "License"); you may - * not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. */ import { SavedObjectsClientContract } from 'opensearch-dashboards/public'; diff --git a/src/plugins/visualize/public/application/utils/get_table_columns.tsx b/src/plugins/visualize/public/application/utils/get_table_columns.tsx index fbf51bba1958..a88714052d18 100644 --- a/src/plugins/visualize/public/application/utils/get_table_columns.tsx +++ b/src/plugins/visualize/public/application/utils/get_table_columns.tsx @@ -37,7 +37,7 @@ import { FormattedMessage } from '@osd/i18n/react'; import { ApplicationStart } from 'opensearch-dashboards/public'; import { VisualizationListItem } from 'src/plugins/visualizations/public'; import moment from 'moment'; -import { IUiSettingsClient } from '../../../../../core/public'; +import { IUiSettingsClient } from 'src/core/public'; const getBadge = (item: VisualizationListItem) => { if (item.stage === 'beta') {