diff options
author | Benjamin Tissoires <benjamin.tissoires@redhat.com> | 2018-06-26 20:59:04 +0200 |
---|---|---|
committer | Benjamin Tissoires <benjamin.tissoires@redhat.com> | 2018-10-24 16:55:27 +0200 |
commit | 2ce1ba37a1d0a09f8b3d2a1db4c8a11d1f98caa0 (patch) | |
tree | 18cab603cbd1bad97514a7a6e3fa3fa4230bcfed /models/activities.js | |
parent | 6d4ffdd8b4fa332c2257edcade92391b8e85d9c6 (diff) | |
download | wekan-2ce1ba37a1d0a09f8b3d2a1db4c8a11d1f98caa0.tar.gz wekan-2ce1ba37a1d0a09f8b3d2a1db4c8a11d1f98caa0.tar.bz2 wekan-2ce1ba37a1d0a09f8b3d2a1db4c8a11d1f98caa0.zip |
models: cards: allow singletons to be assigned to members and labelIds
If we need to set only one member or one label, the data provided will
not give us an array, but the only element as a string.
We need to detect that and convert the parameter into an array.
Diffstat (limited to 'models/activities.js')
0 files changed, 0 insertions, 0 deletions