added permission to violations list

This commit is contained in:
2025-12-29 11:47:19 +03:30
parent 39089e1f4e
commit 85dbd46e21
2 changed files with 20 additions and 20 deletions

View File

@@ -18,7 +18,7 @@ const ReportPage = () => {
const { data: userPermissions } = usePermissions();
const { user } = useAuth();
const requestServer = useRequest();
const hasProvincesPermission = userPermissions?.includes("all"); // TODO : change permission
const hasProvincesPermission = userPermissions?.includes("mission-report-country");
const defaultValues = {
from_date: moment(new Date()).format("YYYY-MM-DD"),