fix(app): enable submit button when comment cards are present
This commit is contained in:
parent
faf2609bc5
commit
02456376ce
1 changed files with 1 additions and 1 deletions
|
|
@ -2013,7 +2013,7 @@ export const PromptInput: Component<PromptInputProps> = (props) => {
|
||||||
>
|
>
|
||||||
<IconButton
|
<IconButton
|
||||||
type="submit"
|
type="submit"
|
||||||
disabled={!prompt.dirty() && !working()}
|
disabled={!prompt.dirty() && !working() && commentCount() === 0}
|
||||||
icon={working() ? "stop" : "arrow-up"}
|
icon={working() ? "stop" : "arrow-up"}
|
||||||
variant="primary"
|
variant="primary"
|
||||||
class="h-6 w-4.5"
|
class="h-6 w-4.5"
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue