mirror of
https://github.com/datahub-project/datahub.git
synced 2025-12-27 01:48:24 +00:00
fix(ui) Standardize subtypes casing with View Definition tab (#7477)
This commit is contained in:
parent
04a32d487f
commit
70f6985eb3
@ -100,7 +100,9 @@ export class DatasetEntity implements Entity<Dataset> {
|
||||
component: ViewDefinitionTab,
|
||||
display: {
|
||||
visible: (_, dataset: GetDatasetQuery) =>
|
||||
(dataset?.dataset?.subTypes?.typeNames?.includes(SUBTYPES.VIEW) && true) || false,
|
||||
dataset?.dataset?.subTypes?.typeNames
|
||||
?.map((t) => t.toLocaleLowerCase())
|
||||
.includes(SUBTYPES.VIEW.toLocaleLowerCase()) || false,
|
||||
enabled: (_, dataset: GetDatasetQuery) =>
|
||||
(dataset?.dataset?.viewProperties?.logic && true) || false,
|
||||
},
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user