Refresh canvas navigator after moved tasks [SCI-7661] (#4774)

This commit is contained in:
ajugo 2023-01-09 09:53:03 +01:00 committed by GitHub
parent 92e044dfd3
commit 83ba9d40dc
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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