diff --git a/cms/version.py b/cms/version.py index b5d17105..3238a1db 100644 --- a/cms/version.py +++ b/cms/version.py @@ -1 +1 @@ -VERSION = "8.97" +VERSION = "8.99" diff --git a/frontend/src/static/js/components/search-filters/ProfileMediaSharing.jsx b/frontend/src/static/js/components/search-filters/ProfileMediaSharing.jsx index 2aa47d91..e4296454 100644 --- a/frontend/src/static/js/components/search-filters/ProfileMediaSharing.jsx +++ b/frontend/src/static/js/components/search-filters/ProfileMediaSharing.jsx @@ -59,7 +59,7 @@ export function ProfileMediaSharing(props) {
{hasUsers ? (
-
{translateString('USERS SHARING')}
+
{translateString(props.mode === 'shared_with_me' ? 'USERS SHARING' : 'SHARED WITH USERS')}
@@ -67,7 +67,7 @@ export function ProfileMediaSharing(props) { ) : null} {hasGroups ? (
-
{translateString('SHARED WITH GROUPS')}
+
{translateString(props.mode === 'shared_with_me' ? 'GROUPS SHARING' : 'SHARED WITH GROUPS')}
@@ -85,6 +85,7 @@ export function ProfileMediaSharing(props) { ProfileMediaSharing.propTypes = { hidden: PropTypes.bool, + mode: PropTypes.string, sharedUsers: PropTypes.array, sharedGroups: PropTypes.array, onSharingSelect: PropTypes.func, @@ -94,6 +95,7 @@ ProfileMediaSharing.propTypes = { ProfileMediaSharing.defaultProps = { hidden: false, + mode: null, sharedUsers: [], sharedGroups: [], selectedSharingType: null, diff --git a/frontend/src/static/js/pages/ProfileSharedWithMePage.js b/frontend/src/static/js/pages/ProfileSharedWithMePage.js index d6bc3aa5..95b8d0e0 100644 --- a/frontend/src/static/js/pages/ProfileSharedWithMePage.js +++ b/frontend/src/static/js/pages/ProfileSharedWithMePage.js @@ -492,6 +492,7 @@ export class ProfileSharedWithMePage extends Page {