diff --git a/openmetadata-ui/src/main/resources/ui/cypress/e2e/Features/RestoreEntity.spec.js b/openmetadata-ui/src/main/resources/ui/cypress/e2e/Features/RestoreEntity.spec.js
index 55dc7615fc2..0f4e0508555 100644
--- a/openmetadata-ui/src/main/resources/ui/cypress/e2e/Features/RestoreEntity.spec.js
+++ b/openmetadata-ui/src/main/resources/ui/cypress/e2e/Features/RestoreEntity.spec.js
@@ -115,21 +115,16 @@ describe('Restore entity functionality should work properly', () => {
.contains(ENTITY_TABLE.schemaName)
.click();
- cy.get('[data-testid="manage-button"]').should('exist').click();
-
- cy.get('[data-testid="deleted-table-menu-item-label"]')
- .should('exist')
- .contains('Show Deleted Table');
-
interceptURL(
'GET',
'/api/v1/search/query?q=*&index=table_search_index&from=0&size=10&deleted=true&sort_field=name.keyword&sort_order=asc',
'queryDeletedTables'
);
- cy.get('[data-testid="deleted-table-menu-item-switch')
- .should('exist')
- .click();
+
+ cy.get('[data-testid="show-deleted"]').should('exist').click();
+
verifyResponseStatusCode('@queryDeletedTables', 200);
+
cy.get('[data-testid="table"] [data-testid="count"]')
.should('exist')
.contains('1');
diff --git a/openmetadata-ui/src/main/resources/ui/cypress/e2e/Pages/Teams.spec.js b/openmetadata-ui/src/main/resources/ui/cypress/e2e/Pages/Teams.spec.js
index 7c651e01445..d66f3da495d 100644
--- a/openmetadata-ui/src/main/resources/ui/cypress/e2e/Pages/Teams.spec.js
+++ b/openmetadata-ui/src/main/resources/ui/cypress/e2e/Pages/Teams.spec.js
@@ -356,11 +356,7 @@ describe('Teams flow should work properly', () => {
// Check if soft deleted team is shown when 'Deleted Teams' switch is on
cy.get('table').should('not.contain', TEAM_DETAILS.name);
- cy.get('[data-testid="header"] [data-testid="manage-button"]')
- .should('exist')
- .click();
-
- cy.get('[data-testid="deleted-menu-item-switch"').should('exist').click();
+ cy.get('[data-testid="show-deleted"').should('exist').click();
interceptURL(
'GET',
diff --git a/openmetadata-ui/src/main/resources/ui/src/components/DataModels/DataModelsTable.tsx b/openmetadata-ui/src/main/resources/ui/src/components/DataModels/DataModelsTable.tsx
index 7a28636b7ec..a27638c3e30 100644
--- a/openmetadata-ui/src/main/resources/ui/src/components/DataModels/DataModelsTable.tsx
+++ b/openmetadata-ui/src/main/resources/ui/src/components/DataModels/DataModelsTable.tsx
@@ -11,7 +11,7 @@
* limitations under the License.
*/
-import { Table } from 'antd';
+import { Col, Table } from 'antd';
import { ColumnsType } from 'antd/lib/table';
import ErrorPlaceHolder from 'components/common/error-with-placeholder/ErrorPlaceHolder';
import NextPrevious from 'components/common/next-previous/NextPrevious';
@@ -74,7 +74,7 @@ const DataModelTable = ({
}
return (
-
+
);
};
diff --git a/openmetadata-ui/src/main/resources/ui/src/components/Team/TeamDetails/TeamDetailsV1.tsx b/openmetadata-ui/src/main/resources/ui/src/components/Team/TeamDetails/TeamDetailsV1.tsx
index c9e37705eb7..743b7825b3d 100644
--- a/openmetadata-ui/src/main/resources/ui/src/components/Team/TeamDetails/TeamDetailsV1.tsx
+++ b/openmetadata-ui/src/main/resources/ui/src/components/Team/TeamDetails/TeamDetailsV1.tsx
@@ -30,7 +30,6 @@ import { ReactComponent as ExportIcon } from 'assets/svg/ic-export.svg';
import { ReactComponent as ImportIcon } from 'assets/svg/ic-import.svg';
import { ReactComponent as IconRestore } from 'assets/svg/ic-restore.svg';
import { ReactComponent as IconOpenLock } from 'assets/svg/open-lock.svg';
-import { ReactComponent as IconShowPassword } from 'assets/svg/show-password.svg';
import { AxiosError } from 'axios';
import classNames from 'classnames';
import { ManageButtonItemLabel } from 'components/common/ManageButtonContentItem/ManageButtonContentItem.component';
@@ -195,7 +194,7 @@ const TeamDetailsV1 = ({
}>(DELETE_USER_INITIAL_STATE);
const [searchTerm, setSearchTerm] = useState('');
const [table, setTable] = useState([]);
- const [slashedDatabaseName, setSlashedDatabaseName] = useState<
+ const [slashedTeamName, setSlashedTeamName] = useState<
TitleBreadcrumbProps['titleLinks']
>([]);
const [addAttribute, setAddAttribute] = useState();
@@ -612,7 +611,7 @@ const TeamDetailsV1 = ({
url: '',
},
];
- setSlashedDatabaseName(breadcrumb);
+ setSlashedTeamName(breadcrumb);
setHeading(currentTeam.displayName || currentTeam.name);
}
}, [currentTeam, parentTeams, showDeletedTeam]);
@@ -669,42 +668,6 @@ const TeamDetailsV1 = ({
});
}, []);
- const DELETED_TOGGLE_MENU_ITEM = {
- label: (
- }
- id="deleted-team-dropdown"
- name={
-
-
-
- {t('label.show-deleted-entity', {
- entity: t('label.team'),
- })}
-
-
-
-
-
-
-
- }
- />
- ),
- onClick: onShowDeletedTeamChange,
- key: 'deleted-team-dropdown',
- };
-
const IMPORT_EXPORT_MENU_ITEM = useMemo(() => {
const options = [
{
@@ -795,9 +758,6 @@ const TeamDetailsV1 = ({
onClick: handleOpenToJoinToggle,
key: 'open-group-dropdown',
},
- ...(currentTeam.teamType === TeamType.BusinessUnit
- ? [DELETED_TOGGLE_MENU_ITEM]
- : []),
],
[
entityPermissions,
@@ -1024,10 +984,7 @@ const TeamDetailsV1 = ({
{!isEmpty(currentTeam) ? (
{!isOrganization && (
-
+
)}
)}
@@ -1149,6 +1103,16 @@ const TeamDetailsV1 = ({
+
+
+
+ {t('label.deleted')}
+
+