mirror of
https://github.com/usebruno/bruno.git
synced 2025-02-08 14:02:09 +01:00
default to 0 in the case where the tab doesn't have this value yet
This commit is contained in:
parent
48398682a4
commit
19e2866e58
@ -125,7 +125,7 @@ export default class CodeEditor extends React.Component {
|
||||
this.variables = {};
|
||||
this.searchResultsCountElementId = 'search-results-count';
|
||||
|
||||
this.scrollY = props.initialScroll;
|
||||
this.scrollY = props.initialScroll || 0;
|
||||
|
||||
this.lintOptions = {
|
||||
esversion: 11,
|
||||
|
Loading…
Reference in New Issue
Block a user