diff --git a/modules/storages/app/components/storages/admin/storages/projects_storage_form_modal_component.rb b/modules/storages/app/components/storages/admin/storages/projects_storage_form_modal_component.rb index dcbcd5dd7162..ab6e4a89c5bc 100644 --- a/modules/storages/app/components/storages/admin/storages/projects_storage_form_modal_component.rb +++ b/modules/storages/app/components/storages/admin/storages/projects_storage_form_modal_component.rb @@ -35,9 +35,9 @@ class ProjectsStorageFormModalComponent < ApplicationComponent include StimulusHelper include AngularHelper - def initialize(project_storage:, **) + def initialize(project_storage:, last_project_folders: {}, **) @project_storage = project_storage - @last_project_folders = {} + @last_project_folders = last_project_folders super(@project_storage, **) end