Files
payload/test/admin-root
Jessica Chowdhury a53876d741 fix(ui): logic for showing copyToLocale button and adds test (#11584)
### What?
This [PR](https://github.com/payloadcms/payload/pull/11546) introduced a
bug where the `CopyToLocale` button can show up when localization is
false.

### Why?
`const disableCopyToLocale = localization &&
collectionConfig?.admin?.disableCopyToLocale` this line was faulty

### How?
Fixed the logic and added test to confirm button doesn't show when
localization is false.
2025-03-07 14:13:48 +00:00
..
2024-11-11 13:59:05 -05:00
2024-08-13 12:54:33 -04:00
2024-09-26 11:09:29 -03:00
2024-08-13 12:54:33 -04:00
2024-08-13 12:54:33 -04:00
2024-07-23 13:44:44 -04:00
2024-07-23 13:44:44 -04:00