Fixed Rare bug: All Boards page icons random dance. Commented out All Boards show members, cards counts, and some migrations.

Fixes #4214

Thanks to xet7 !
This commit is contained in:
Lauri Ojansivu 2023-06-09 16:27:04 +03:00
parent 695cdfcc4e
commit b75e16f104
5 changed files with 52 additions and 11 deletions

View file

@ -294,6 +294,14 @@ Boards.attachSchema(
}
},
},
background: {
/**
* The background color of the board.
*/
type: String,
optional: true,
defaultValue: '#16A085',
},
backgroundImageURL: {
/**
* The background image URL of the board.
@ -306,6 +314,7 @@ Boards.attachSchema(
* Show card counter per list
*/
type: Boolean,
optional: false,
defaultValue: false,
},
allowsBoardMemberList: {
@ -357,6 +366,7 @@ Boards.attachSchema(
* Does the board allows subtasks?
*/
type: Boolean,
optional: false,
defaultValue: true,
},
@ -1308,7 +1318,7 @@ Boards.mutations({
},
setVisibility(visibility) {
return { $set: { permission: visibility } };
return { $set: { permission: visibility.toLowerCase() } };
},
addLabel(name, color) {