Skip to content

Commit 3ad3a50

Browse files
authored
Merge pull request #300 from pluginpal/fix/295
Fix internationalisation issue
2 parents b3b92ec + 6e34ecb commit 3ad3a50

File tree

2 files changed

+6
-1
lines changed

2 files changed

+6
-1
lines changed

.changeset/kind-eels-sort.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
"strapi-plugin-webtools": patch
3+
---
4+
5+
fix: issue when switching to another locale on the content manager create page (#295)

packages/core/admin/components/EditForm/index.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ const EditForm = () => {
5959
size="S"
6060
variant="secondary"
6161
style={{ width: '100%' }}
62-
disabled={aliases.data.data.length === 0}
62+
disabled={aliases.data?.data.length === 0}
6363
>
6464
Edit URL alias
6565
</Button>

0 commit comments

Comments
 (0)