Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
chenpangpang
open-webui
Commits
95ff3557
Unverified
Commit
95ff3557
authored
Jun 12, 2024
by
Timothy Jaeryang Baek
Committed by
GitHub
Jun 12, 2024
Browse files
Merge pull request #3094 from open-webui/dev
fix: chat deletion
parents
8f3c9b39
c2d41b03
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
src/lib/components/admin/Settings/Users.svelte
src/lib/components/admin/Settings/Users.svelte
+2
-2
No files found.
src/lib/components/admin/Settings/Users.svelte
View file @
95ff3557
...
@@ -58,11 +58,11 @@
...
@@ -58,11 +58,11 @@
<button
<button
class="p-1 px-3 text-xs flex rounded transition"
class="p-1 px-3 text-xs flex rounded transition"
on:click={() => {
on:click={() => {
permissions.chat.deletion = !permissions.chat.deletion;
permissions.chat.deletion = !
(
permissions
?
.chat
?
.deletion
?? true)
;
}}
}}
type="button"
type="button"
>
>
{#if permissions.chat.deletion}
{#if permissions
?
.chat
?
.deletion
?? true
}
<svg
<svg
xmlns="http://www.w3.org/2000/svg"
xmlns="http://www.w3.org/2000/svg"
viewBox="0 0 16 16"
viewBox="0 0 16 16"
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment