From a7d0f5050db012fd44bd7942516a23af53217052 Mon Sep 17 00:00:00 2001 From: aignatov-bio Date: Mon, 22 Mar 2021 15:20:47 +0100 Subject: [PATCH] Remove project on project restore [SCI-5582] --- app/models/project.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/models/project.rb b/app/models/project.rb index 020063bb7..f86543172 100644 --- a/app/models/project.rb +++ b/app/models/project.rb @@ -352,6 +352,6 @@ class Project < ApplicationRecord end def remove_project_folder - self.project_folder = nil if archived? + self.project_folder = nil end end