Added hide/show to show counters and members on All Boards (Admin Panel)

This commit is contained in:
helioguardabaxo 2022-09-16 11:02:25 -03:00
parent c307aa6354
commit 9dff09fbcf
10 changed files with 160 additions and 27 deletions

View file

@ -509,6 +509,38 @@ Migrations.add('add-hide-logo', () => {
);
});
Migrations.add('add-hide-card-counter-list', () => {
Settings.update(
{
hideCardCounterList: {
$exists: false,
},
},
{
$set: {
hideCardCounterList: false,
},
},
noValidateMulti,
);
});
Migrations.add('add-hide-board-member-list', () => {
Settings.update(
{
hideBoardMemberList: {
$exists: false,
},
},
{
$set: {
hideBoardMemberList: false,
},
},
noValidateMulti,
);
});
Migrations.add('add-displayAuthenticationMethod', () => {
Settings.update(
{
@ -1126,6 +1158,38 @@ Migrations.add('add-hide-logo-by-default', () => {
);
});
Migrations.add('add-hide-card-counter-list-by-default', () => {
Settings.update(
{
hideCardCounterList: {
hideCardCounterList: false,
},
},
{
$set: {
hideCardCounterList: true,
},
},
noValidateMulti,
);
});
Migrations.add('add-hide-board-member-list-by-default', () => {
Settings.update(
{
hideBoardMemberList: {
hideBoardMember: false,
},
},
{
$set: {
hideBoardMemberList: true,
},
},
noValidateMulti,
);
});
Migrations.add('add-card-number-allowed', () => {
Boards.update(
{