-
Notifications
You must be signed in to change notification settings - Fork 699
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
bugfix: allow vertical scroll in sidebar #1026
base: master
Are you sure you want to change the base?
Conversation
@@ -344,14 +368,17 @@ export class Doc extends Observable<DocValue | Doc[]> { | |||
value?: DocValue | Doc[] | DocValueMap[] | |||
): boolean { | |||
if (fieldname === 'numberSeries' && !this.notInserted) { | |||
// console.log("cannot set %s, numberSeries inserted", fieldname) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please remove the redundant code
return false; | ||
} | ||
|
||
if (value === undefined) { | ||
// console.log("cannot set %s, undefined value", fieldname) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
redundant code
return false; | ||
} | ||
|
||
if (this.fieldMap[fieldname] === undefined) { | ||
// console.log("cannot set %s, no fieldMap", fieldname, this.fieldMap) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
redundant code
Contains also commits from #1023 which it would conflict with otherwise