Skip to content

Commit

Permalink
Fix logic for opening ai prompt guidance txt input
Browse files Browse the repository at this point in the history
  • Loading branch information
brettimus committed Dec 3, 2024
1 parent 961b315 commit df590aa
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -162,7 +162,7 @@ export const RequestorPageContent: React.FC<RequestorPageContentProps> = (
"mod+shift+g",
(e) => {
e.preventDefault();
if (aiEnabled && !isLoadingParameters) {
if (aiEnabled) {
setAiPromptOpen(true);
} else {
setAIDropdownOpen(true);
Expand Down

0 comments on commit df590aa

Please sign in to comment.