Skip to content

Commit

Permalink
Fix #3136
Browse files Browse the repository at this point in the history
  • Loading branch information
fonsp committed Jan 17, 2025
1 parent ae3dfc3 commit c1baaac
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/webserver/SessionActions.jl
Original file line number Diff line number Diff line change
Expand Up @@ -258,7 +258,9 @@ function move(session::ServerSession, notebook::Notebook, newpath::String)
else
move_notebook!(notebook, newpath; disable_writing_notebook_files=session.options.server.disable_writing_notebook_files)
putplutoupdates!(session, clientupdate_notebook_list(session.notebooks))
WorkspaceManager.cd_workspace((session, notebook), newpath)
let workspace = WorkspaceManager.get_workspace((session, notebook); allow_creation=false)
isnothing(workspace) || WorkspaceManager.cd_workspace(workspace, newpath)
end
end
end

Expand Down

0 comments on commit c1baaac

Please sign in to comment.