diff --git a/src/client/pages/CountryHome/Repository/Item/Item.tsx b/src/client/pages/CountryHome/Repository/Item/Item.tsx index 12928dc5ed..4d247c7c62 100644 --- a/src/client/pages/CountryHome/Repository/Item/Item.tsx +++ b/src/client/pages/CountryHome/Repository/Item/Item.tsx @@ -24,7 +24,7 @@ const Item: React.FC = (props) => { const openPanel = useOpenPanel({ repositoryItem }) const isGlobalRepositoryItem = RepositoryItems.isGlobal({ repositoryItem }) - const withActions = (isGlobalRepositoryItem && isGlobalRepositoryEditable) || isCountryRepositoryEditable + const withActions = isGlobalRepositoryItem ? isGlobalRepositoryEditable : isCountryRepositoryEditable const level = repositoryItem.props.public ? 'public' : 'private' return ( diff --git a/src/client/pages/Section/SectionHeader/ExtentOfForest/ExtentOfForest.tsx b/src/client/pages/Section/SectionHeader/ExtentOfForest/ExtentOfForest.tsx index b2e10e46a9..27ebc9e10c 100644 --- a/src/client/pages/Section/SectionHeader/ExtentOfForest/ExtentOfForest.tsx +++ b/src/client/pages/Section/SectionHeader/ExtentOfForest/ExtentOfForest.tsx @@ -18,7 +18,7 @@ const ExtentOfForest: React.FC = () => { const { assessmentName, cycleName, countryIso } = useCountryRouteParams() const user = useUser() const disabled = !editEnabled - const className = useButtonClassName({ disabled, iconName: 'small-add', size: ButtonSize.m }) + const className = useButtonClassName({ disabled, iconName: 'small-add', label: 'L', size: ButtonSize.m }) if (!user) return null