mirror of
https://github.com/wekan/wekan.git
synced 2025-12-24 03:10:12 +01:00
When logged in, use database for setting, so that changes are
immediate. Only on public board use cookies. Comment out Collapse CSS that is not in use. Thanks to xet7 !
This commit is contained in:
parent
f595120e72
commit
351d4767d7
12 changed files with 318 additions and 131 deletions
|
|
@ -794,24 +794,32 @@ Migrations.add('add-assignee', () => {
|
|||
);
|
||||
});
|
||||
|
||||
Migrations.add('remove-profile-showDesktopDragHandles', () => {
|
||||
Migrations.add('add-profile-showDesktopDragHandles', () => {
|
||||
Users.update(
|
||||
{},
|
||||
{
|
||||
$unset: {
|
||||
'profile.showDesktopDragHandles': 1,
|
||||
'profile.showDesktopDragHandles': {
|
||||
$exists: false,
|
||||
},
|
||||
},
|
||||
{
|
||||
$set: {
|
||||
'profile.showDesktopDragHandles': false,
|
||||
},
|
||||
},
|
||||
noValidateMulti,
|
||||
);
|
||||
});
|
||||
|
||||
Migrations.add('remove-profile-hiddenMinicardLabelText', () => {
|
||||
Migrations.add('add-profile-hiddenMinicardLabelText', () => {
|
||||
Users.update(
|
||||
{},
|
||||
{
|
||||
$unset: {
|
||||
'profile.hiddenMinicardLabelText': 1,
|
||||
'profile.hiddenMinicardLabelText': {
|
||||
$exists: false,
|
||||
},
|
||||
},
|
||||
{
|
||||
$set: {
|
||||
'profile.hiddenMinicardLabelText': false,
|
||||
},
|
||||
},
|
||||
noValidateMulti,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue