mirror of
https://github.com/open-metadata/OpenMetadata.git
synced 2025-09-08 08:31:37 +00:00
ui: replace encodeURI with encodeURIComponent in entity details page (#12827)
This commit is contained in:
parent
d8e288626c
commit
c88ac0dd5c
@ -83,6 +83,13 @@ export const SEARCH_ENTITY_TABLE = {
|
||||
serviceName: 'sample_data',
|
||||
entityType: 'Table',
|
||||
},
|
||||
table_5: {
|
||||
term: 'dim.api/client',
|
||||
displayName: 'dim.api/client',
|
||||
entity: MYDATA_SUMMARY_OPTIONS.tables,
|
||||
serviceName: 'sample_data',
|
||||
entityType: 'Table',
|
||||
},
|
||||
};
|
||||
|
||||
export const SEARCH_ENTITY_TOPIC = {
|
||||
|
@ -29,7 +29,7 @@ import {
|
||||
|
||||
const ENTITIES = {
|
||||
table: {
|
||||
...SEARCH_ENTITY_TABLE.table_4,
|
||||
...SEARCH_ENTITY_TABLE.table_5,
|
||||
schema: 'shopify',
|
||||
database: 'ecommerce_db',
|
||||
},
|
||||
|
@ -127,9 +127,9 @@ const TableDetailsPageV1 = () => {
|
||||
);
|
||||
const tableFqn = useMemo(
|
||||
() =>
|
||||
encodeURI(
|
||||
encodeURIComponent(
|
||||
getPartialNameFromTableFQN(
|
||||
decodeURI(datasetFQN),
|
||||
decodeURIComponent(datasetFQN),
|
||||
[FqnPart.Service, FqnPart.Database, FqnPart.Schema, FqnPart.Table],
|
||||
FQN_SEPARATOR_CHAR
|
||||
)
|
||||
|
Loading…
x
Reference in New Issue
Block a user