@strapi/plugin-users-permissions 0.0.0-next.c8d6478ec519888ce0cd754886474c3189efc733 → 0.0.0-next.ddc227cf71596473e8e744b0f90388b054d07e45
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.
|
@@ -143,7 +143,7 @@ const AdvancedSettingsPage = () => {
|
|
|
143
143
|
validationSchema={schema}
|
|
144
144
|
enableReinitialize
|
|
145
145
|
>
|
|
146
|
-
{({ errors, values, handleChange, isSubmitting }) => {
|
|
146
|
+
{({ errors, values, handleChange, isSubmitting, dirty }) => {
|
|
147
147
|
return (
|
|
148
148
|
<Form>
|
|
149
149
|
<HeaderLayout
|
|
@@ -155,7 +155,7 @@ const AdvancedSettingsPage = () => {
|
|
|
155
155
|
<Button
|
|
156
156
|
loading={isSubmitting}
|
|
157
157
|
type="submit"
|
|
158
|
-
disabled={!canUpdate}
|
|
158
|
+
disabled={canUpdate ? !dirty : !canUpdate}
|
|
159
159
|
startIcon={<Check />}
|
|
160
160
|
size="S"
|
|
161
161
|
>
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@strapi/plugin-users-permissions",
|
|
3
|
-
"version": "0.0.0-next.
|
|
3
|
+
"version": "0.0.0-next.ddc227cf71596473e8e744b0f90388b054d07e45",
|
|
4
4
|
"description": "Protect your API with a full-authentication process based on JWT",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -30,9 +30,9 @@
|
|
|
30
30
|
},
|
|
31
31
|
"dependencies": {
|
|
32
32
|
"@strapi/design-system": "1.8.0",
|
|
33
|
-
"@strapi/helper-plugin": "0.0.0-next.
|
|
33
|
+
"@strapi/helper-plugin": "0.0.0-next.ddc227cf71596473e8e744b0f90388b054d07e45",
|
|
34
34
|
"@strapi/icons": "1.8.0",
|
|
35
|
-
"@strapi/utils": "0.0.0-next.
|
|
35
|
+
"@strapi/utils": "0.0.0-next.ddc227cf71596473e8e744b0f90388b054d07e45",
|
|
36
36
|
"bcryptjs": "2.4.3",
|
|
37
37
|
"formik": "2.4.0",
|
|
38
38
|
"grant-koa": "5.4.8",
|
|
@@ -77,5 +77,5 @@
|
|
|
77
77
|
"required": true,
|
|
78
78
|
"kind": "plugin"
|
|
79
79
|
},
|
|
80
|
-
"gitHead": "
|
|
80
|
+
"gitHead": "ddc227cf71596473e8e744b0f90388b054d07e45"
|
|
81
81
|
}
|