Skip to content

Commit 1a17911

Browse files
authored
Fix update option in main view (#153)
* Fix the update options not triggered if the options are available when displaying the mainview * Update snapshots
1 parent 9946ec0 commit 1a17911

File tree

3 files changed

+1
-0
lines changed

3 files changed

+1
-0
lines changed

packages/base/src/mainview/mainView.tsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -219,6 +219,7 @@ export class MainView extends React.Component<IProps, IStates> {
219219
);
220220
const options = this._model.getOptions();
221221
this.updateOptions(options);
222+
this._initializedPosition = true;
222223
}
223224

224225
this.setState(old => ({ ...old, loading: false }));
298 KB
Loading
-596 Bytes
Loading

0 commit comments

Comments
 (0)