wekan/client
Harry Adel 14de981ac3 Fix async/await in copy/move card operations
The mapCustomFieldsToBoard() method is async but was being called without
await in copy() and move() methods. This caused a Promise to be assigned
to customFields instead of the actual array, failing MongoDB schema
validation on cross-board operations.

Changes:
- Make copy() method async and await mapCustomFieldsToBoard()
- Add await in move() for mapCustomFieldsToBoard()
- Make copyCard() server method async and await card.copy()
- Add null check in mapCustomFieldsToBoard() for cards without custom fields
- Update client to use Meteor.callAsync for server-only copyCard method

Fixes #6105
2026-01-31 19:45:43 +02:00
..
components Fix async/await in copy/move card operations 2026-01-31 19:45:43 +02:00
config Most Unicode Icons back to Font Awesome 4.7 for better accessibility. Less always visible buttons, More at ☰ Men. 2026-01-28 13:02:02 +02:00
lib Fix Card copy menu is not displayed. 2026-01-31 09:20:24 +02:00
00-startup.js Added back feature: Toggle Drag Handles. Improved positions of Add List etc buttons. 2026-01-14 19:10:51 +02:00