mirror of
https://github.com/open-webui/open-webui.git
synced 2025-12-12 04:15:25 +00:00
fix: use prettier to format last commit
This commit is contained in:
parent
5543f30c49
commit
c11f02662f
2 changed files with 8 additions and 5 deletions
|
|
@ -47,7 +47,7 @@
|
||||||
};
|
};
|
||||||
|
|
||||||
onMount(() => {
|
onMount(() => {
|
||||||
const groupId = querystringValue('id')
|
const groupId = querystringValue('id');
|
||||||
if (groupId && groupId === group.id) {
|
if (groupId && groupId === group.id) {
|
||||||
showEdit = true;
|
showEdit = true;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -129,8 +129,11 @@
|
||||||
<div class="flex flex-wrap gap-1 my-0.5 -mx-1">
|
<div class="flex flex-wrap gap-1 my-0.5 -mx-1">
|
||||||
{#each userGroups as userGroup}
|
{#each userGroups as userGroup}
|
||||||
<span class="px-2 py-0.5 rounded-full bg-gray-100 dark:bg-gray-850 text-xs">
|
<span class="px-2 py-0.5 rounded-full bg-gray-100 dark:bg-gray-850 text-xs">
|
||||||
<a href={"/admin/users/groups?id=" + userGroup.id}
|
<a
|
||||||
on:click|preventDefault={() => goto('/admin/users/groups?id=' + userGroup.id)}>
|
href={'/admin/users/groups?id=' + userGroup.id}
|
||||||
|
on:click|preventDefault={() =>
|
||||||
|
goto('/admin/users/groups?id=' + userGroup.id)}
|
||||||
|
>
|
||||||
{userGroup.name}
|
{userGroup.name}
|
||||||
</a>
|
</a>
|
||||||
</span>
|
</span>
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue