From c96bbf5ec79b7ce70535277ff50a016a63c4fb9e Mon Sep 17 00:00:00 2001 From: yystopf Date: Tue, 17 Dec 2024 17:34:17 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=94=B9:=E8=AE=A1=E5=88=92=E7=A7=BB?= =?UTF-8?q?=E9=99=A4=E4=B8=A4=E4=B8=AA=E7=8A=B6=E6=80=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/controllers/api/pm/projects_controller.rb | 1 + 1 file changed, 1 insertion(+) diff --git a/app/controllers/api/pm/projects_controller.rb b/app/controllers/api/pm/projects_controller.rb index bd7c0991d..3cece6400 100644 --- a/app/controllers/api/pm/projects_controller.rb +++ b/app/controllers/api/pm/projects_controller.rb @@ -64,6 +64,7 @@ class Api::Pm::ProjectsController < Api::Pm::BaseController IssueStatus.all.map do |e| # next if e.id == 5 [1,2,3].map{ |type| + next if type == 1 && [1, 6].include?(e.id) type_status_data[type] = {} if type_status_data[type].nil? if type_status[[type,e.id]].nil? type_status_data[type][e.id] = 0