From 37e434237345f81cb541a0bf8f5e692983f242c7 Mon Sep 17 00:00:00 2001 From: 728 Date: Fri, 9 Jun 2023 11:12:49 +0800 Subject: [PATCH] fix --- ismism.ts/ui/bind/section.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ismism.ts/ui/bind/section.ts b/ismism.ts/ui/bind/section.ts index e9bc9af..0364063 100644 --- a/ismism.ts/ui/bind/section.ts +++ b/ismism.ts/ui/bind/section.ts @@ -335,7 +335,7 @@ export function putrel( })); else t.putuid.remove() // deno-lint-ignore no-explicit-any if (is_aut(nav.pas.aut, "aut") || is_sec(nav.pas, { [id]: d._id } as any)) btn(t.putresn, t.putresn.innerText, d.res.length > 0 ? { confirm: "清空申请人名单?", - pos: () => pos("put", { [id]: d._id, rol: "res" }), + pos: () => pos("put", { [id]: d._id, rol: "res", add: false }), refresh, } : undefined); else t.putresn.remove() const [isuid, isres] = [d.uid.includes(nav.pas.uid), d.res.includes(nav.pas.uid)]