修复查看分享的看板时报没有操作权限的BUG

This commit is contained in:
datagear 2020-02-07 18:41:23 +08:00
parent fc16c2d9fd
commit f28be43f2a
1 changed files with 1 additions and 1 deletions

View File

@ -192,7 +192,7 @@ public class DashboardController extends AbstractDataAnalysisController
{
User user = WebUtils.getUser(request, response);
HtmlTplDashboardWidgetEntity dashboard = this.htmlTplDashboardWidgetEntityService.getByIdForEdit(user, id);
HtmlTplDashboardWidgetEntity dashboard = this.htmlTplDashboardWidgetEntityService.getById(user, id);
if (dashboard == null)
return new ArrayList<String>(0);