fix(app): enable submit button when comment cards are present
This commit is contained in:
@@ -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"
|
||||||
|
|||||||
Reference in New Issue
Block a user