From 3e88dd6280766a309644c8f08a13445a071e39eb Mon Sep 17 00:00:00 2001 From: Dauren777 Date: Fri, 5 Jun 2026 09:24:24 +0000 Subject: [PATCH] =?UTF-8?q?v39:=20=D0=B2=D1=81=D0=B5=20=D1=80=D0=B0=D0=B1?= =?UTF-8?q?=D0=BE=D1=82=D0=BD=D0=B8=D0=BA=D0=B8=20=D0=B2=D0=B8=D0=B4=D1=8F?= =?UTF-8?q?=D1=82=20=D0=B2=D1=81=D0=B5=20=D0=BC=D0=B5=D1=80=D0=BE=D0=BF?= =?UTF-8?q?=D1=80=D0=B8=D1=8F=D1=82=D0=B8=D1=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- index.html | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/index.html b/index.html index c126f2f..50edc9d 100644 --- a/index.html +++ b/index.html @@ -149,8 +149,7 @@ function saveEv(){localStorage.setItem("samruk_ev",JSON.stringify(events||[]))} function getMy(){ if(!curUser||!events)return[]; - if(curUser.role==="admin"||curUser.role==="curator")return events; - return events.filter(function(e){return e.b===curUser.branch}); + return events; // все видят все мероприятия } // ===== FILE STORAGE =====