mirror of
https://github.com/open-metadata/OpenMetadata.git
synced 2025-10-19 04:41:02 +00:00
fix broken breadcrumb issue in request/update pages for tags/description (#13463)
This commit is contained in:
parent
d0f3ee6a2a
commit
35cdfa8f8f
@ -82,38 +82,52 @@ export const AssetsFilterOptions: Array<{
|
||||
value: SearchIndex.SEARCH_INDEX,
|
||||
},
|
||||
{
|
||||
label: i18n.t('label.database-service'),
|
||||
label: i18n.t('label.entity-service', {
|
||||
entity: i18n.t('label.database'),
|
||||
}),
|
||||
key: EntityType.DATABASE_SERVICE,
|
||||
value: SearchIndex.DATABASE_SERVICE,
|
||||
},
|
||||
{
|
||||
label: i18n.t('label.messaging-service'),
|
||||
label: i18n.t('label.entity-service', {
|
||||
entity: i18n.t('label.messaging'),
|
||||
}),
|
||||
key: EntityType.MESSAGING_SERVICE,
|
||||
value: SearchIndex.MESSAGING_SERVICE,
|
||||
},
|
||||
{
|
||||
label: i18n.t('label.dashboard-service'),
|
||||
label: i18n.t('label.entity-service', {
|
||||
entity: i18n.t('label.dashboard'),
|
||||
}),
|
||||
key: EntityType.DASHBOARD_SERVICE,
|
||||
value: SearchIndex.DASHBOARD_SERVICE,
|
||||
},
|
||||
|
||||
{
|
||||
label: i18n.t('label.pipeline-service'),
|
||||
label: i18n.t('label.entity-service', {
|
||||
entity: i18n.t('label.pipeline'),
|
||||
}),
|
||||
key: EntityType.PIPELINE_SERVICE,
|
||||
value: SearchIndex.PIPELINE_SERVICE,
|
||||
},
|
||||
{
|
||||
label: i18n.t('label.ml-model-service'),
|
||||
label: i18n.t('label.entity-service', {
|
||||
entity: i18n.t('label.ml-model'),
|
||||
}),
|
||||
key: EntityType.MLMODEL_SERVICE,
|
||||
value: SearchIndex.ML_MODEL_SERVICE,
|
||||
},
|
||||
{
|
||||
label: i18n.t('label.storage-service'),
|
||||
label: i18n.t('label.entity-service', {
|
||||
entity: i18n.t('label.storage'),
|
||||
}),
|
||||
key: EntityType.STORAGE_SERVICE,
|
||||
value: SearchIndex.STORAGE_SERVICE,
|
||||
},
|
||||
{
|
||||
label: i18n.t('label.search-index-service'),
|
||||
label: i18n.t('label.entity-service', {
|
||||
entity: i18n.t('label.search-index'),
|
||||
}),
|
||||
key: EntityType.SEARCH_SERVICE,
|
||||
value: SearchIndex.SEARCH_SERVICE,
|
||||
},
|
||||
|
@ -205,7 +205,6 @@
|
||||
"dashboard-lowercase-plural": "Dashboards",
|
||||
"dashboard-name": "Dashboard-Name",
|
||||
"dashboard-plural": "Dashboards",
|
||||
"dashboard-service": "Dashboard Service",
|
||||
"data-aggregate": "Datenaggregat",
|
||||
"data-aggregation": "Datenaggregation",
|
||||
"data-asset": "Daten-Asset",
|
||||
@ -250,7 +249,6 @@
|
||||
"database-name": "Datenbankname",
|
||||
"database-plural": "Datenbanken",
|
||||
"database-schema": "Datenbankschema",
|
||||
"database-service": "Database Service",
|
||||
"database-service-name": "Datenbankdienstname",
|
||||
"date": "Datum",
|
||||
"date-and-time": "Datum & Uhrzeit",
|
||||
@ -568,7 +566,6 @@
|
||||
"messaging": "Nachrichtenübermittlung",
|
||||
"messaging-lowercase": "nachrichtenübermittlung",
|
||||
"messaging-plural": "Nachrichtenübermittlungen",
|
||||
"messaging-service": "Messaging Service",
|
||||
"metadata": "Metadaten",
|
||||
"metadata-ingestion": "Metadateninjektion",
|
||||
"metadata-lowercase": "metadaten",
|
||||
@ -587,7 +584,6 @@
|
||||
"ml-model-lowercase": "Künstliches Intelligenzmodell",
|
||||
"ml-model-lowercase-plural": "KI-Modelle",
|
||||
"ml-model-plural": "KI-Modelle",
|
||||
"ml-model-service": "Ml Model Service",
|
||||
"mode": "Modus",
|
||||
"model": "Modell",
|
||||
"model-name": "Modellname",
|
||||
@ -694,7 +690,6 @@
|
||||
"pipeline-lowercase-plural": "pipelines",
|
||||
"pipeline-name": "Pipeline-Name",
|
||||
"pipeline-plural": "Pipelines",
|
||||
"pipeline-service": "Pipeline Service",
|
||||
"pipeline-state": "Pipeline-Status",
|
||||
"please-enter-value": "Bitte einen Wert für {{name}} eingeben",
|
||||
"please-password-type-first": "Bitte zuerst das Passwort eingeben",
|
||||
@ -832,7 +827,6 @@
|
||||
"search-index": "Suchindex",
|
||||
"search-index-ingestion": "Suchindex für die Datenaufnahme",
|
||||
"search-index-plural": "Suchindizes",
|
||||
"search-index-service": "Search Index Service",
|
||||
"search-index-setting-plural": "Suchindexeinstellungen",
|
||||
"second-plural": "Sekunden",
|
||||
"secret-key": "Geheimschlüssel",
|
||||
|
@ -205,7 +205,6 @@
|
||||
"dashboard-lowercase-plural": "dashboards",
|
||||
"dashboard-name": "Dashboard Name",
|
||||
"dashboard-plural": "Dashboards",
|
||||
"dashboard-service": "Dashboard Service",
|
||||
"data-aggregate": "Data Aggregate",
|
||||
"data-aggregation": "Data Aggregation",
|
||||
"data-asset": "Data Asset",
|
||||
@ -250,7 +249,6 @@
|
||||
"database-name": "Database Name",
|
||||
"database-plural": "Databases",
|
||||
"database-schema": "Database Schema",
|
||||
"database-service": "Database Service",
|
||||
"database-service-name": "Database Service Name",
|
||||
"date": "Date",
|
||||
"date-and-time": "Date & Time",
|
||||
@ -568,7 +566,6 @@
|
||||
"messaging": "Messaging",
|
||||
"messaging-lowercase": "messaging",
|
||||
"messaging-plural": "Messagings",
|
||||
"messaging-service": "Messaging Service",
|
||||
"metadata": "Metadata",
|
||||
"metadata-ingestion": "Metadata Ingestion",
|
||||
"metadata-lowercase": "metadata",
|
||||
@ -587,7 +584,6 @@
|
||||
"ml-model-lowercase": "ML model",
|
||||
"ml-model-lowercase-plural": "ML models",
|
||||
"ml-model-plural": "ML Models",
|
||||
"ml-model-service": "Ml Model Service",
|
||||
"mode": "Mode",
|
||||
"model": "Model",
|
||||
"model-name": "Model Name",
|
||||
@ -694,7 +690,6 @@
|
||||
"pipeline-lowercase-plural": "pipelines",
|
||||
"pipeline-name": "Pipeline Name",
|
||||
"pipeline-plural": "Pipelines",
|
||||
"pipeline-service": "Pipeline Service",
|
||||
"pipeline-state": "Pipeline State",
|
||||
"please-enter-value": "Please enter {{name}} value",
|
||||
"please-password-type-first": "Please type password first",
|
||||
@ -832,7 +827,6 @@
|
||||
"search-index": "Search Index",
|
||||
"search-index-ingestion": "Search Index Ingestion",
|
||||
"search-index-plural": "Search Indexes",
|
||||
"search-index-service": "Search Index Service",
|
||||
"search-index-setting-plural": "Search Index Settings",
|
||||
"second-plural": "Seconds",
|
||||
"secret-key": "Secret Key",
|
||||
|
@ -205,7 +205,6 @@
|
||||
"dashboard-lowercase-plural": "dashboards",
|
||||
"dashboard-name": "Nombre del dashboard",
|
||||
"dashboard-plural": "Dashboards",
|
||||
"dashboard-service": "Dashboard Service",
|
||||
"data-aggregate": "Data Aggregate",
|
||||
"data-aggregation": "Data Aggregation",
|
||||
"data-asset": "Activo de datos",
|
||||
@ -250,7 +249,6 @@
|
||||
"database-name": "Nombre de la base de datos",
|
||||
"database-plural": "Bases de datos",
|
||||
"database-schema": "Esquema de la base de datos",
|
||||
"database-service": "Database Service",
|
||||
"database-service-name": "Nombre del servicio de la base de datos",
|
||||
"date": "Fecha",
|
||||
"date-and-time": "Fecha y hora",
|
||||
@ -568,7 +566,6 @@
|
||||
"messaging": "Mensajería",
|
||||
"messaging-lowercase": "mensajería",
|
||||
"messaging-plural": "Messagings",
|
||||
"messaging-service": "Messaging Service",
|
||||
"metadata": "Metadatos",
|
||||
"metadata-ingestion": "Ingesta de Metadatos",
|
||||
"metadata-lowercase": "metadatos",
|
||||
@ -587,7 +584,6 @@
|
||||
"ml-model-lowercase": "modelo de ML",
|
||||
"ml-model-lowercase-plural": "modelos de ML",
|
||||
"ml-model-plural": "Modelos de ML",
|
||||
"ml-model-service": "Ml Model Service",
|
||||
"mode": "Moda",
|
||||
"model": "Model",
|
||||
"model-name": "Nombre del Modelo",
|
||||
@ -694,7 +690,6 @@
|
||||
"pipeline-lowercase-plural": "pipelines",
|
||||
"pipeline-name": "Nombre de la pipeline",
|
||||
"pipeline-plural": "Pipelines",
|
||||
"pipeline-service": "Pipeline Service",
|
||||
"pipeline-state": "Estado de la pipeline",
|
||||
"please-enter-value": "Ingrese el valor de {{name}}",
|
||||
"please-password-type-first": "Ingrese primero la contraseña",
|
||||
@ -832,7 +827,6 @@
|
||||
"search-index": "Search Index",
|
||||
"search-index-ingestion": "Search Index Ingestion",
|
||||
"search-index-plural": "Search Indexes",
|
||||
"search-index-service": "Search Index Service",
|
||||
"search-index-setting-plural": "Search Index Settings",
|
||||
"second-plural": "Segundos",
|
||||
"secret-key": "Clave Secreta",
|
||||
|
@ -205,7 +205,6 @@
|
||||
"dashboard-lowercase-plural": "tableaux de bord",
|
||||
"dashboard-name": "Nom du Tableau de Bord",
|
||||
"dashboard-plural": "Tableaux de Bord",
|
||||
"dashboard-service": "Dashboard Service",
|
||||
"data-aggregate": "Agrégat de Données",
|
||||
"data-aggregation": "Agrégation de Données",
|
||||
"data-asset": "Actif de Données",
|
||||
@ -250,7 +249,6 @@
|
||||
"database-name": "Nom de la Base de Données",
|
||||
"database-plural": "Bases de Données",
|
||||
"database-schema": "Schéma de la Base de Données",
|
||||
"database-service": "Database Service",
|
||||
"database-service-name": "Nom du Service de la Base de Données",
|
||||
"date": "Date",
|
||||
"date-and-time": "Date & Heure",
|
||||
@ -568,7 +566,6 @@
|
||||
"messaging": "Messagerie",
|
||||
"messaging-lowercase": "messagerie",
|
||||
"messaging-plural": "Messageries",
|
||||
"messaging-service": "Messaging Service",
|
||||
"metadata": "Métadonnée",
|
||||
"metadata-ingestion": "Ingestion des Métadonnées",
|
||||
"metadata-lowercase": "métadonnées",
|
||||
@ -587,7 +584,6 @@
|
||||
"ml-model-lowercase": "Modèle d'Apprentissage Machine",
|
||||
"ml-model-lowercase-plural": "Modèles d'Apprentissage Machine",
|
||||
"ml-model-plural": "Modèles d'IA",
|
||||
"ml-model-service": "Ml Model Service",
|
||||
"mode": "Mode",
|
||||
"model": "Modèle",
|
||||
"model-name": "Nom du Modèle",
|
||||
@ -694,7 +690,6 @@
|
||||
"pipeline-lowercase-plural": "pipelines",
|
||||
"pipeline-name": "Nom du Pipeline",
|
||||
"pipeline-plural": "Pipelines",
|
||||
"pipeline-service": "Pipeline Service",
|
||||
"pipeline-state": "État du Pipeline",
|
||||
"please-enter-value": "Merci d'entrer une valeur pour {{name}} ",
|
||||
"please-password-type-first": "Merci d'entrer le mot de passe d'abord",
|
||||
@ -832,7 +827,6 @@
|
||||
"search-index": "Index de Recherche",
|
||||
"search-index-ingestion": "Index de Recherche pour l'Ingestion",
|
||||
"search-index-plural": "Indexes de Recherche",
|
||||
"search-index-service": "Search Index Service",
|
||||
"search-index-setting-plural": "Paramètres des Index de Recherche",
|
||||
"second-plural": "Secondes",
|
||||
"secret-key": "Clé Secrète",
|
||||
|
@ -205,7 +205,6 @@
|
||||
"dashboard-lowercase-plural": "dashboards",
|
||||
"dashboard-name": "ダッシュボード名",
|
||||
"dashboard-plural": "ダッシュボード",
|
||||
"dashboard-service": "Dashboard Service",
|
||||
"data-aggregate": "Data Aggregate",
|
||||
"data-aggregation": "Data Aggregation",
|
||||
"data-asset": "データアセット",
|
||||
@ -250,7 +249,6 @@
|
||||
"database-name": "データベース名",
|
||||
"database-plural": "データベース",
|
||||
"database-schema": "データベースのスキーマ",
|
||||
"database-service": "Database Service",
|
||||
"database-service-name": "データベースサービス名",
|
||||
"date": "日付",
|
||||
"date-and-time": "日付と時間",
|
||||
@ -568,7 +566,6 @@
|
||||
"messaging": "メッセージング",
|
||||
"messaging-lowercase": "メッセージング",
|
||||
"messaging-plural": "Messagings",
|
||||
"messaging-service": "Messaging Service",
|
||||
"metadata": "メタデータ",
|
||||
"metadata-ingestion": "メタデータのインジェスチョン",
|
||||
"metadata-lowercase": "メタデータ",
|
||||
@ -587,7 +584,6 @@
|
||||
"ml-model-lowercase": "ML model",
|
||||
"ml-model-lowercase-plural": "ML models",
|
||||
"ml-model-plural": "MLモデル",
|
||||
"ml-model-service": "Ml Model Service",
|
||||
"mode": "モード",
|
||||
"model": "Model",
|
||||
"model-name": "モデル名",
|
||||
@ -694,7 +690,6 @@
|
||||
"pipeline-lowercase-plural": "pipelines",
|
||||
"pipeline-name": "パイプライン名",
|
||||
"pipeline-plural": "パイプライン",
|
||||
"pipeline-service": "Pipeline Service",
|
||||
"pipeline-state": "パイプラインの状態",
|
||||
"please-enter-value": "{{name}}の値を入力してください",
|
||||
"please-password-type-first": "パスワードを入力してください",
|
||||
@ -832,7 +827,6 @@
|
||||
"search-index": "Search Index",
|
||||
"search-index-ingestion": "Search Index Ingestion",
|
||||
"search-index-plural": "Search Indexes",
|
||||
"search-index-service": "Search Index Service",
|
||||
"search-index-setting-plural": "Search Index Settings",
|
||||
"second-plural": "秒",
|
||||
"secret-key": "Secret Key",
|
||||
|
@ -205,7 +205,6 @@
|
||||
"dashboard-lowercase-plural": "dashboards",
|
||||
"dashboard-name": "Nome do dashboard",
|
||||
"dashboard-plural": "Dashboards",
|
||||
"dashboard-service": "Dashboard Service",
|
||||
"data-aggregate": "Data Aggregate",
|
||||
"data-aggregation": "Data Aggregation",
|
||||
"data-asset": "Recurso de dados",
|
||||
@ -250,7 +249,6 @@
|
||||
"database-name": "Nome do banco de dados",
|
||||
"database-plural": "Bancos de dados",
|
||||
"database-schema": "Schema do banco de dados",
|
||||
"database-service": "Database Service",
|
||||
"database-service-name": "Nome do serviço de banco de dados",
|
||||
"date": "data",
|
||||
"date-and-time": "data e hora",
|
||||
@ -568,7 +566,6 @@
|
||||
"messaging": "Mensageria",
|
||||
"messaging-lowercase": "mensageria",
|
||||
"messaging-plural": "Messagings",
|
||||
"messaging-service": "Messaging Service",
|
||||
"metadata": "Metadados",
|
||||
"metadata-ingestion": "Ingestão de metadados",
|
||||
"metadata-lowercase": "Metadados",
|
||||
@ -587,7 +584,6 @@
|
||||
"ml-model-lowercase": "ML model",
|
||||
"ml-model-lowercase-plural": "ML models",
|
||||
"ml-model-plural": "Modelos de ML",
|
||||
"ml-model-service": "Ml Model Service",
|
||||
"mode": "Modo",
|
||||
"model": "Model",
|
||||
"model-name": "Nome do modelo",
|
||||
@ -694,7 +690,6 @@
|
||||
"pipeline-lowercase-plural": "pipelines",
|
||||
"pipeline-name": "Nome da pipeline",
|
||||
"pipeline-plural": "Pipelines",
|
||||
"pipeline-service": "Pipeline Service",
|
||||
"pipeline-state": "Estado da pipeline",
|
||||
"please-enter-value": "Por favor digite o valor de {{name}}",
|
||||
"please-password-type-first": "Por favor, digite a senha primeiro",
|
||||
@ -832,7 +827,6 @@
|
||||
"search-index": "Search Index",
|
||||
"search-index-ingestion": "Search Index Ingestion",
|
||||
"search-index-plural": "Search Indexes",
|
||||
"search-index-service": "Search Index Service",
|
||||
"search-index-setting-plural": "Search Index Settings",
|
||||
"second-plural": "Segundos",
|
||||
"secret-key": "Chave Secreta",
|
||||
|
@ -205,7 +205,6 @@
|
||||
"dashboard-lowercase-plural": "дашборды",
|
||||
"dashboard-name": "Наименование дашборда",
|
||||
"dashboard-plural": "Дашборды",
|
||||
"dashboard-service": "Dashboard Service",
|
||||
"data-aggregate": "Сводные данные",
|
||||
"data-aggregation": "Агрегация данных",
|
||||
"data-asset": "Объект данных",
|
||||
@ -250,7 +249,6 @@
|
||||
"database-name": "Наименование базы данных",
|
||||
"database-plural": "Базы данных",
|
||||
"database-schema": "Схема базы данных",
|
||||
"database-service": "Database Service",
|
||||
"database-service-name": "Наименование сервиса базы данных",
|
||||
"date": "Дата",
|
||||
"date-and-time": "Дата & Время",
|
||||
@ -568,7 +566,6 @@
|
||||
"messaging": "Обмен сообщениями",
|
||||
"messaging-lowercase": "обмен сообщениями",
|
||||
"messaging-plural": "Обмен сообщениями",
|
||||
"messaging-service": "Messaging Service",
|
||||
"metadata": "Метаданные",
|
||||
"metadata-ingestion": "Получение метаданных",
|
||||
"metadata-lowercase": "метаданные",
|
||||
@ -587,7 +584,6 @@
|
||||
"ml-model-lowercase": "ML модель",
|
||||
"ml-model-lowercase-plural": "ML модели",
|
||||
"ml-model-plural": "ML Модели",
|
||||
"ml-model-service": "Ml Model Service",
|
||||
"mode": "Режим",
|
||||
"model": "Модель",
|
||||
"model-name": "Наименование модели",
|
||||
@ -694,7 +690,6 @@
|
||||
"pipeline-lowercase-plural": "пайплайны",
|
||||
"pipeline-name": "Наименование пайплайна",
|
||||
"pipeline-plural": "Пайплайны",
|
||||
"pipeline-service": "Pipeline Service",
|
||||
"pipeline-state": "Состояние",
|
||||
"please-enter-value": "Пожалуйста введите значение {{name}} ",
|
||||
"please-password-type-first": "Пожалуйста, сначала введите пароль",
|
||||
@ -832,7 +827,6 @@
|
||||
"search-index": "Search Index",
|
||||
"search-index-ingestion": "Получение поискового индекса",
|
||||
"search-index-plural": "Search Indexes",
|
||||
"search-index-service": "Search Index Service",
|
||||
"search-index-setting-plural": "Search Index Settings",
|
||||
"second-plural": "Секунды",
|
||||
"secret-key": "Секретный ключ",
|
||||
|
@ -205,7 +205,6 @@
|
||||
"dashboard-lowercase-plural": "仪表板",
|
||||
"dashboard-name": "仪表板名称",
|
||||
"dashboard-plural": "仪表板",
|
||||
"dashboard-service": "Dashboard Service",
|
||||
"data-aggregate": "数据聚合",
|
||||
"data-aggregation": "数据聚合",
|
||||
"data-asset": "数据资产",
|
||||
@ -250,7 +249,6 @@
|
||||
"database-name": "数据库名称",
|
||||
"database-plural": "数据库",
|
||||
"database-schema": "数据库结构",
|
||||
"database-service": "Database Service",
|
||||
"database-service-name": "数据库服务名称",
|
||||
"date": "日期",
|
||||
"date-and-time": "日期和时间",
|
||||
@ -568,7 +566,6 @@
|
||||
"messaging": "消息队列",
|
||||
"messaging-lowercase": "消息队列",
|
||||
"messaging-plural": "消息队列",
|
||||
"messaging-service": "Messaging Service",
|
||||
"metadata": "元数据",
|
||||
"metadata-ingestion": "元数据提取",
|
||||
"metadata-lowercase": "元数据",
|
||||
@ -587,7 +584,6 @@
|
||||
"ml-model-lowercase": "ML模型",
|
||||
"ml-model-lowercase-plural": "ML模型",
|
||||
"ml-model-plural": "ML模型",
|
||||
"ml-model-service": "Ml Model Service",
|
||||
"mode": "模式",
|
||||
"model": "模型",
|
||||
"model-name": "模型名称",
|
||||
@ -694,7 +690,6 @@
|
||||
"pipeline-lowercase-plural": "工作流",
|
||||
"pipeline-name": "工作流名称",
|
||||
"pipeline-plural": "工作流",
|
||||
"pipeline-service": "Pipeline Service",
|
||||
"pipeline-state": "工作流状态",
|
||||
"please-enter-value": "请输入{{name}}值",
|
||||
"please-password-type-first": "请先输入密码",
|
||||
@ -832,7 +827,6 @@
|
||||
"search-index": "Search Index",
|
||||
"search-index-ingestion": "搜索索引提取",
|
||||
"search-index-plural": "Search Indexes",
|
||||
"search-index-service": "Search Index Service",
|
||||
"search-index-setting-plural": "Search Index Settings",
|
||||
"second-plural": "秒",
|
||||
"secret-key": "秘钥",
|
||||
|
@ -14,6 +14,7 @@
|
||||
import { Button, Form, FormProps, Input, Space, Typography } from 'antd';
|
||||
import { useForm } from 'antd/lib/form/Form';
|
||||
import { AxiosError } from 'axios';
|
||||
import { isEmpty } from 'lodash';
|
||||
import { observer } from 'mobx-react';
|
||||
import React, { useEffect, useMemo, useRef, useState } from 'react';
|
||||
import { useTranslation } from 'react-i18next';
|
||||
@ -25,6 +26,7 @@ import RichTextEditor from '../../../components/common/rich-text-editor/RichText
|
||||
import { EditorContentRef } from '../../../components/common/rich-text-editor/RichTextEditor.interface';
|
||||
import TitleBreadcrumb from '../../../components/common/title-breadcrumb/title-breadcrumb.component';
|
||||
import ExploreSearchCard from '../../../components/ExploreV1/ExploreSearchCard/ExploreSearchCard';
|
||||
import Loader from '../../../components/Loader/Loader';
|
||||
import { SearchedDataProps } from '../../../components/searched-data/SearchedData.interface';
|
||||
import { EntityField } from '../../../constants/Feeds.constants';
|
||||
import { EntityTabs, EntityType } from '../../../enums/entity.enum';
|
||||
@ -165,6 +167,10 @@ const RequestDescription = () => {
|
||||
});
|
||||
}, [entityData]);
|
||||
|
||||
if (isEmpty(entityData)) {
|
||||
return <Loader />;
|
||||
}
|
||||
|
||||
return (
|
||||
<ResizablePanels
|
||||
firstPanel={{
|
||||
|
@ -14,6 +14,7 @@
|
||||
import { Button, Form, FormProps, Input, Space, Typography } from 'antd';
|
||||
import { useForm } from 'antd/lib/form/Form';
|
||||
import { AxiosError } from 'axios';
|
||||
import { isEmpty } from 'lodash';
|
||||
import { observer } from 'mobx-react';
|
||||
import React, { useEffect, useMemo, useState } from 'react';
|
||||
import { useTranslation } from 'react-i18next';
|
||||
@ -23,6 +24,7 @@ import { ActivityFeedTabs } from '../../../components/ActivityFeed/ActivityFeedT
|
||||
import ResizablePanels from '../../../components/common/ResizablePanels/ResizablePanels';
|
||||
import TitleBreadcrumb from '../../../components/common/title-breadcrumb/title-breadcrumb.component';
|
||||
import ExploreSearchCard from '../../../components/ExploreV1/ExploreSearchCard/ExploreSearchCard';
|
||||
import Loader from '../../../components/Loader/Loader';
|
||||
import { SearchedDataProps } from '../../../components/searched-data/SearchedData.interface';
|
||||
import { EntityField } from '../../../constants/Feeds.constants';
|
||||
import { EntityTabs, EntityType } from '../../../enums/entity.enum';
|
||||
@ -155,6 +157,10 @@ const RequestTag = () => {
|
||||
});
|
||||
}, [entityData]);
|
||||
|
||||
if (isEmpty(entityData)) {
|
||||
return <Loader />;
|
||||
}
|
||||
|
||||
return (
|
||||
<ResizablePanels
|
||||
firstPanel={{
|
||||
|
@ -23,6 +23,7 @@ import { ActivityFeedTabs } from '../../../components/ActivityFeed/ActivityFeedT
|
||||
import ResizablePanels from '../../../components/common/ResizablePanels/ResizablePanels';
|
||||
import TitleBreadcrumb from '../../../components/common/title-breadcrumb/title-breadcrumb.component';
|
||||
import ExploreSearchCard from '../../../components/ExploreV1/ExploreSearchCard/ExploreSearchCard';
|
||||
import Loader from '../../../components/Loader/Loader';
|
||||
import { SearchedDataProps } from '../../../components/searched-data/SearchedData.interface';
|
||||
import { FQN_SEPARATOR_CHAR } from '../../../constants/char.constants';
|
||||
import { EntityField } from '../../../constants/Feeds.constants';
|
||||
@ -181,6 +182,10 @@ const UpdateDescription = () => {
|
||||
setCurrentDescription(getDescription());
|
||||
}, [entityData, columnObject]);
|
||||
|
||||
if (isEmpty(entityData)) {
|
||||
return <Loader />;
|
||||
}
|
||||
|
||||
return (
|
||||
<ResizablePanels
|
||||
firstPanel={{
|
||||
|
@ -24,6 +24,7 @@ import { ActivityFeedTabs } from '../../../components/ActivityFeed/ActivityFeedT
|
||||
import ResizablePanels from '../../../components/common/ResizablePanels/ResizablePanels';
|
||||
import TitleBreadcrumb from '../../../components/common/title-breadcrumb/title-breadcrumb.component';
|
||||
import ExploreSearchCard from '../../../components/ExploreV1/ExploreSearchCard/ExploreSearchCard';
|
||||
import Loader from '../../../components/Loader/Loader';
|
||||
import { SearchedDataProps } from '../../../components/searched-data/SearchedData.interface';
|
||||
import { FQN_SEPARATOR_CHAR } from '../../../constants/char.constants';
|
||||
import { EntityField } from '../../../constants/Feeds.constants';
|
||||
@ -194,6 +195,10 @@ const UpdateTag = () => {
|
||||
setSuggestion(getTags());
|
||||
}, [entityData, columnObject]);
|
||||
|
||||
if (isEmpty(entityData)) {
|
||||
return <Loader />;
|
||||
}
|
||||
|
||||
return (
|
||||
<ResizablePanels
|
||||
firstPanel={{
|
||||
|
Loading…
x
Reference in New Issue
Block a user