Fix Wekan JSON import bug

If not all users are mapped the import crashes.
This commit is contained in:
John R. Supplee 2021-01-28 00:44:48 +02:00
parent e0576502d9
commit 0adde3e06d
2 changed files with 6 additions and 1 deletions

View file

@ -69,24 +69,28 @@ CustomFields.attachSchema(
* should we show on the cards this custom field
*/
type: Boolean,
defaultValue: false,
},
automaticallyOnCard: {
/**
* should the custom fields automatically be added on cards?
*/
type: Boolean,
defaultValue: false,
},
alwaysOnCard: {
/**
* should the custom field be automatically added to all cards?
*/
type: Boolean,
defaultValue: false,
},
showLabelOnMiniCard: {
/**
* should the label of the custom field be shown on minicards?
*/
type: Boolean,
defaultValue: false,
},
createdAt: {
type: Date,