mirror of
https://github.com/windmill-labs/windmill.git
synced 2026-08-20 16:02:19 +00:00
only load in audit logs all users if not demo
This commit is contained in:
@@ -51,7 +51,9 @@
|
||||
}
|
||||
|
||||
async function loadUsers() {
|
||||
usernames = await UserService.listUsernames({ workspace: $workspaceStore! })
|
||||
usernames = $userStore?.is_admin
|
||||
? await UserService.listUsernames({ workspace: $workspaceStore! })
|
||||
: [$userStore?.username ?? '']
|
||||
}
|
||||
|
||||
async function gotoUsername(username: string | undefined): Promise<void> {
|
||||
|
||||
Reference in New Issue
Block a user