fix glossary default selector in search index application while installation (#15024)

This commit is contained in:
Ashish Gupta 2024-02-05 16:32:43 +05:30 committed by GitHub
parent eb501c1996
commit 3740a7b346
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
3 changed files with 7 additions and 3 deletions

View File

@ -11,8 +11,9 @@
* limitations under the License. * limitations under the License.
*/ */
.app-marketplace-avatar > img { .app-marketplace-avatar > img {
width: 64px; width: 54px;
height: 64px; height: 54px;
object-fit: contain;
} }
.app-card-divider { .app-card-divider {

View File

@ -19,6 +19,7 @@ import React, { useCallback, useEffect, useMemo, useState } from 'react';
import { useTranslation } from 'react-i18next'; import { useTranslation } from 'react-i18next';
import { useHistory } from 'react-router-dom'; import { useHistory } from 'react-router-dom';
import TestSuiteScheduler from '../../components/AddDataQualityTest/components/TestSuiteScheduler'; import TestSuiteScheduler from '../../components/AddDataQualityTest/components/TestSuiteScheduler';
import applicationSchemaClassBase from '../../components/Applications/AppDetails/ApplicationSchemaClassBase';
import AppInstallVerifyCard from '../../components/Applications/AppInstallVerifyCard/AppInstallVerifyCard.component'; import AppInstallVerifyCard from '../../components/Applications/AppInstallVerifyCard/AppInstallVerifyCard.component';
import ErrorPlaceHolder from '../../components/common/ErrorWithPlaceholder/ErrorPlaceHolder'; import ErrorPlaceHolder from '../../components/common/ErrorWithPlaceholder/ErrorPlaceHolder';
import FormBuilder from '../../components/common/FormBuilder/FormBuilder'; import FormBuilder from '../../components/common/FormBuilder/FormBuilder';
@ -79,7 +80,8 @@ const AppInstall = () => {
}); });
setAppData(data); setAppData(data);
const schema = await import(`../../utils/ApplicationSchemas/${fqn}.json`); const schema = await applicationSchemaClassBase.importSchema(fqn);
setJsonSchema(schema); setJsonSchema(schema);
} catch (error) { } catch (error) {
showErrorToast(error as AxiosError); showErrorToast(error as AxiosError);

View File

@ -61,6 +61,7 @@
"searchIndex", "searchIndex",
"user", "user",
"team", "team",
"glossary",
"glossaryTerm", "glossaryTerm",
"mlmodel", "mlmodel",
"tag", "tag",