屏蔽甘特图和质量分析

This commit is contained in:
xiaoxiaoqiong 2022-04-13 10:17:59 +08:00
parent 4de05dba70
commit 63109147d1
1 changed files with 2 additions and 2 deletions

View File

@ -20,8 +20,8 @@ class ProjectsController < ApplicationController
menu.append(menu_hash_by_name("versions")) if @project.has_menu_permission("versions")
menu.append(menu_hash_by_name("resources")) if @project.has_menu_permission("resources")
menu.append(menu_hash_by_name("activity"))
menu.append(menu_hash_by_name("gantt"))
menu.append(menu_hash_by_name("sonar"))
# menu.append(menu_hash_by_name("gantt"))
# menu.append(menu_hash_by_name("sonar"))
menu.append(menu_hash_by_name("setting")) if current_user.admin? || @project.manager?(current_user)
render json: menu