Skip to content

Commit

Permalink
Fix update option in main view (#153)
Browse files Browse the repository at this point in the history
* Fix the update options not triggered if the options are available when displaying the mainview

* Update snapshots
  • Loading branch information
brichet authored Sep 20, 2024
1 parent 9946ec0 commit 1a17911
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions packages/base/src/mainview/mainView.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -219,6 +219,7 @@ export class MainView extends React.Component<IProps, IStates> {
);
const options = this._model.getOptions();
this.updateOptions(options);
this._initializedPosition = true;
}

this.setState(old => ({ ...old, loading: false }));
Expand Down
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 1a17911

Please sign in to comment.