@plone/volto 16.31.9 → 16.31.10
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.changelog.draft +2 -2
- package/.yarn/install-state.gz +0 -0
- package/CHANGELOG.md +6 -0
- package/locales/ca/LC_MESSAGES/volto.po +899 -899
- package/locales/de/LC_MESSAGES/volto.po +899 -899
- package/locales/en/LC_MESSAGES/volto.po +899 -899
- package/locales/en.json +1 -1
- package/locales/es/LC_MESSAGES/volto.po +899 -899
- package/locales/eu/LC_MESSAGES/volto.po +899 -899
- package/locales/fi/LC_MESSAGES/volto.po +899 -899
- package/locales/fr/LC_MESSAGES/volto.po +899 -899
- package/locales/it/LC_MESSAGES/volto.po +899 -899
- package/locales/ja/LC_MESSAGES/volto.po +899 -899
- package/locales/nl/LC_MESSAGES/volto.po +899 -899
- package/locales/pt/LC_MESSAGES/volto.po +899 -899
- package/locales/pt_BR/LC_MESSAGES/volto.po +899 -899
- package/locales/ro/LC_MESSAGES/volto.po +899 -899
- package/locales/volto.pot +901 -901
- package/locales/zh_CN/LC_MESSAGES/volto.po +899 -899
- package/package.json +1 -1
- package/packages/volto-slate/package.json +1 -1
- package/src/components/manage/Controlpanels/Users/UserGroupMembershipControlPanel.jsx +2 -2
package/package.json
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
* TODO Enrich with features of user control panel. Then replace user control panel.
|
|
4
4
|
*/
|
|
5
5
|
import React, { useEffect } from 'react';
|
|
6
|
-
import { find
|
|
6
|
+
import { find } from 'lodash';
|
|
7
7
|
import { Portal } from 'react-portal';
|
|
8
8
|
import { useHistory } from 'react-router';
|
|
9
9
|
import { Link, useLocation } from 'react-router-dom';
|
|
@@ -38,7 +38,7 @@ const UserGroupMembershipPanel = () => {
|
|
|
38
38
|
(state) => state.controlpanels.systeminformation,
|
|
39
39
|
);
|
|
40
40
|
const can_use_group_membership_panel = systeminformation
|
|
41
|
-
?
|
|
41
|
+
? parseFloat(systeminformation?.plone_restapi_version.slice(0, 4)) >= 8.24
|
|
42
42
|
: false;
|
|
43
43
|
const actions = useSelector((state) => state.actions?.actions ?? {});
|
|
44
44
|
const ploneSetupAction = find(actions.user, {
|