From 0ed21711db7d0ffe8e7508809ed879507bb8d07f Mon Sep 17 00:00:00 2001 From: vchikalkin Date: Tue, 30 May 2023 11:40:28 +0300 Subject: [PATCH] Components/Common: fix extra error Buttons config/users: add roles --- apps/web/Components/Common/Error.jsx | 4 ++-- apps/web/config/users.js | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/apps/web/Components/Common/Error.jsx b/apps/web/Components/Common/Error.jsx index a33386b..8e6f7fc 100644 --- a/apps/web/Components/Common/Error.jsx +++ b/apps/web/Components/Common/Error.jsx @@ -9,8 +9,8 @@ function openSupport() { window.open('https://help.evoleasing.ru', '_blank').focus(); } -const RetryButton = ; +const SupportButton = ; export function CRMError({ error }) { return ( diff --git a/apps/web/config/users.js b/apps/web/config/users.js index 59b581b..b681d9d 100644 --- a/apps/web/config/users.js +++ b/apps/web/config/users.js @@ -1,3 +1,3 @@ export const unlimitedRoles = ['Калькулятор без ограничений']; -export const defaultRoles = ['МПЛ']; +export const defaultRoles = ['Лизинговый калькулятор', 'МПЛ', 'Управляющий подразделением']; export const usersSuper = ['akalinina', 'vchikalkin'];