mirror of
https://github.com/scinote-eln/scinote-web.git
synced 2025-01-18 21:42:07 +08:00
Refresh canvas navigator after moved tasks [SCI-7661] (#4774)
This commit is contained in:
parent
92e044dfd3
commit
83ba9d40dc
1 changed files with 2 additions and 0 deletions
|
@ -333,6 +333,8 @@ class ExperimentsController < ApplicationController
|
|||
modules_to_move[id] = dst_experiment.id
|
||||
end
|
||||
@experiment.move_modules(modules_to_move, current_user)
|
||||
@experiment.workflowimg.purge
|
||||
|
||||
render json: { message: t('experiments.table.modal_move_modules.success_flash',
|
||||
experiment: sanitize_input(dst_experiment.name)) }
|
||||
rescue StandardError => e
|
||||
|
|
Loading…
Reference in a new issue