);
- };
-
- const getVersionButton = (version: string) => {
- return (
-
- );
- };
+ }, [followersList]);
const fetchTags = async () => {
setIsTagLoading(true);
@@ -360,10 +326,6 @@ const EntityPageInfo = ({
}
};
- useEffect(() => {
- setEntityFollowers(followersList);
- }, [followersList]);
-
useAfterMount(() => {
if (ANNOUNCEMENT_ENTITIES.includes(entityType as EntityType)) {
fetchActiveAnnouncement();
@@ -385,53 +347,50 @@ const EntityPageInfo = ({
entityType={(entityType as EntityType) ?? EntityType.TABLE}
extra={
- {!isUndefined(version) ? (
- <>
- {!isUndefined(isVersionSelected) ? (
-
- {t('message.viewing-older-version')}
-
- }
- trigger="hover">
- {getVersionButton(toString(version))}
-
- ) : (
- <>{getVersionButton(toString(version))}>
- )}
- >
- ) : null}
+ {!isUndefined(version) && (
+
+ )}
{!isUndefined(isFollowing) ? (
-
+
) : null}
+
{!isVersionSelected && (
setIsViewMore(false)}
/>
diff --git a/openmetadata-ui/src/main/resources/ui/src/components/common/entityPageInfo/ManageButton/ManageButton.tsx b/openmetadata-ui/src/main/resources/ui/src/components/common/entityPageInfo/ManageButton/ManageButton.tsx
index 4982866dcfe..c8e2da660a2 100644
--- a/openmetadata-ui/src/main/resources/ui/src/components/common/entityPageInfo/ManageButton/ManageButton.tsx
+++ b/openmetadata-ui/src/main/resources/ui/src/components/common/entityPageInfo/ManageButton/ManageButton.tsx
@@ -220,16 +220,12 @@ const ManageButton: FC = ({
trigger={['click']}
onOpenChange={setShowActions}>
{isDelete && (
diff --git a/openmetadata-ui/src/main/resources/ui/src/locale/languages/en-us.json b/openmetadata-ui/src/main/resources/ui/src/locale/languages/en-us.json
index d8c95ace2c1..434647f8c74 100644
--- a/openmetadata-ui/src/main/resources/ui/src/locale/languages/en-us.json
+++ b/openmetadata-ui/src/main/resources/ui/src/locale/languages/en-us.json
@@ -876,7 +876,7 @@
"type-filed-name": "Type {{fieldName}}",
"type-lowercase": "type",
"type-to-confirm": "Type <0>{{text}}0> to confirm",
- "un-follow": "UnFollow",
+ "un-follow": "Unfollow",
"unique": "Unique",
"unpause": "UnPause",
"update": "Update",