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
48ac0d99
Commit
48ac0d99
authored
Oct 28, 2023
by
Timothy J. Baek
Browse files
fix: empty prompt disabled
parent
a1544dbc
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
0 deletions
+2
-0
src/routes/+page.svelte
src/routes/+page.svelte
+2
-0
No files found.
src/routes/+page.svelte
View file @
48ac0d99
...
...
@@ -12,6 +12,7 @@
import
{
API_BASE_URL
as
BUILD_TIME_API_BASE_URL
}
from
'
$lib/constants
'
;
import
{
onMount
,
tick
}
from
'
svelte
'
;
import
Navbar
from
'
$lib/components/layout/Navbar.svelte
'
;
import
SettingsModal
from
'
$lib/components/chat/SettingsModal.svelte
'
;
...
...
@@ -1090,6 +1091,7 @@
? 'bg-emerald-600 text-gray-100 hover:bg-emerald-700 '
: 'text-gray-600 disabled'} transition rounded p-2"
type=
"submit"
disabled=
{prompt
===
''}
>
<svg
xmlns=
"http://www.w3.org/2000/svg"
...
...
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