mirror of
https://github.com/wekan/wekan.git
synced 2026-01-04 16:48:49 +01:00
Add new debug operator to search and fix some bugs
This commit is contained in:
parent
7f8f3f8f16
commit
94525a4d3d
7 changed files with 153 additions and 53 deletions
|
|
@ -77,6 +77,10 @@ SessionData.attachSchema(
|
|||
optional: true,
|
||||
defaultValue: [],
|
||||
},
|
||||
debug: {
|
||||
type: String,
|
||||
optional: true,
|
||||
},
|
||||
'errors.$': {
|
||||
type: new SimpleSchema({
|
||||
tag: {
|
||||
|
|
@ -177,7 +181,7 @@ function unpickleObject(obj) {
|
|||
SessionData.pickle = value => {
|
||||
return JSON.stringify(value, (key, value) => {
|
||||
return pickleValue(value);
|
||||
});
|
||||
}, 2);
|
||||
};
|
||||
|
||||
function pickleValue(value) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue