mirror of
https://github.com/LaCasemate/fab-manager.git
synced 2025-01-30 19:52:20 +01:00
(bug) unable to update a space with a deleted machine
This commit is contained in:
parent
1b6f43361c
commit
0b08510473
@ -3,6 +3,7 @@
|
||||
## Next release
|
||||
|
||||
- improvement: add loader for create/delete availability slot
|
||||
- Fix a bug: unable to update a space with a deleted machine
|
||||
|
||||
## v6.3.16 2024 March 11
|
||||
|
||||
|
@ -18,7 +18,7 @@ export default class ApiLib {
|
||||
...object,
|
||||
...attachmentAttributes.reduce((a, name) => { return { ...a, [name]: null }; }, {})
|
||||
}
|
||||
}, { dateWithTimezone: true });
|
||||
}, { dateWithTimezone: true, allowEmptyArrays: true });
|
||||
attachmentAttributes.forEach((attr) => {
|
||||
data.delete(`${name}[${attr}]`);
|
||||
if (Array.isArray(object[attr])) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user