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
e3668a2f
Commit
e3668a2f
authored
Jun 19, 2024
by
Timothy J. Baek
Browse files
refac
parent
ab270c16
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
6 deletions
+1
-6
src/lib/components/chat/Messages/UserMessage.svelte
src/lib/components/chat/Messages/UserMessage.svelte
+1
-6
No files found.
src/lib/components/chat/Messages/UserMessage.svelte
View file @
e3668a2f
...
...
@@ -104,12 +104,7 @@
type="button"
on:click={async () => {
if (file?.url) {
getFileContentById(file.id).then((blob) => {
if (blob) {
const url = URL.createObjectURL(blob);
window.open(url, '_blank').focus();
}
});
window.open(`${file?.url}/content`, '_blank').focus();
}
}}
>
...
...
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