mirror of
https://github.com/sst/opencode.git
synced 2025-12-23 10:11:41 +00:00
fix: hide prompt input send tooltip when the send button is disabled
This commit is contained in:
parent
b913eb7acc
commit
ac495bd351
1 changed files with 1 additions and 0 deletions
|
|
@ -627,6 +627,7 @@ export const PromptInput: Component<PromptInputProps> = (props) => {
|
|||
</div>
|
||||
<Tooltip
|
||||
placement="top"
|
||||
inactive={!session.prompt.dirty() && !session.working()}
|
||||
value={
|
||||
<Switch>
|
||||
<Match when={session.working()}>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue