From 4861de567094a1b961d8058c3b455276cd2d5184 Mon Sep 17 00:00:00 2001 From: yystopf Date: Fri, 30 May 2025 11:46:17 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=94=B9=EF=BC=9Amenu=5Flist=20datase?= =?UTF-8?q?t=E9=BB=98=E8=AE=A4=E5=88=9B=E5=BB=BA?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/models/project_unit.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/models/project_unit.rb b/app/models/project_unit.rb index d2b6d2085..f7038ce7f 100644 --- a/app/models/project_unit.rb +++ b/app/models/project_unit.rb @@ -23,7 +23,7 @@ class ProjectUnit < ApplicationRecord def self.init_types(project_id, project_type='common') unit_types = project_type == 'sync_mirror' ? ProjectUnit::unit_types.except("pulls") : ProjectUnit::unit_types - unit_types = unit_types.except("dataset") + # unit_types = unit_types.except("dataset") unit_types.each do |_, v| self.create!(project_id: project_id, unit_type: v) end