change ui for entrypoint

This commit is contained in:
Dmitry Vasilev
2023-07-02 19:21:20 +03:00
parent 571db0bf41
commit b8c927c196
7 changed files with 94 additions and 113 deletions

10
src/effects.js vendored
View File

@@ -140,16 +140,6 @@ export const apply_side_effects = (prev, next, command, ui) => {
ui.files.render(next)
}
if(
prev.project_dir != next.project_dir
||
prev.entrypoint != next.entrypoint
||
prev.html_file != next.html_file
) {
ui.render_entrypoint_select(next)
}
if(prev.current_module != next.current_module) {
localStorage.current_module = next.current_module
ui.render_current_module(next.current_module)