From 83ba9d40dc6bc470db2f4435bb4d534440fe5e00 Mon Sep 17 00:00:00 2001 From: ajugo Date: Mon, 9 Jan 2023 09:53:03 +0100 Subject: [PATCH] Refresh canvas navigator after moved tasks [SCI-7661] (#4774) --- app/controllers/experiments_controller.rb | 2 ++ 1 file changed, 2 insertions(+) diff --git a/app/controllers/experiments_controller.rb b/app/controllers/experiments_controller.rb index 1cf7ba60b..1a818c3ee 100644 --- a/app/controllers/experiments_controller.rb +++ b/app/controllers/experiments_controller.rb @@ -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