mirror of
https://github.com/open-metadata/OpenMetadata.git
synced 2025-12-24 22:18:41 +00:00
Fix Delete API failure issue (#8747)
This commit is contained in:
parent
f57fe1d507
commit
7b9fecc369
@ -103,7 +103,10 @@ const DeleteWidgetModal = ({
|
||||
return `glossaries`;
|
||||
} else if (entityType === EntityType.POLICY) {
|
||||
return 'policies';
|
||||
} else if (entityType === EntityType.TEST_SUITE || EntityType.KPI) {
|
||||
} else if (
|
||||
entityType === EntityType.TEST_SUITE ||
|
||||
entityType === EntityType.KPI
|
||||
) {
|
||||
return entityType;
|
||||
} else {
|
||||
return `${entityType}s`;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user