mirror of
https://github.com/open-webui/open-webui.git
synced 2026-11-25 23:00:53 -05:00
chore: format
This commit is contained in:
1 parent
e53ff57fb5
commit
20647bd2d5
20 files changed
+67
-70
No files matched your search
@@ -309,7 +309,10 @@
|
||||
commitAccessGrants(next);
|
||||
};
|
||||
|
||||
const togglePrincipalWrite = (principalType: 'user' | 'group' | 'anyone', principalId: string) => {
|
||||
const togglePrincipalWrite = (
|
||||
principalType: 'user' | 'group' | 'anyone',
|
||||
principalId: string
|
||||
) => {
|
||||
let next = [...currentGrants()];
|
||||
const hasWrite = hasPrincipalGrant(principalType, principalId, 'write');
|
||||
if (hasWrite) {
|
||||
|
||||
Reference in new issue
Block a user