Skip to content

Commit 7a7245b

Browse files
Set fallback for AI provider selector if unchanged dropdown
1 parent 435ae18 commit 7a7245b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

js/ActionPopup/SortableItem.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -222,7 +222,7 @@ const SortableItem = ({ propRef, loopIndex, item }) => {
222222
)
223223
}
224224
value={ item.data.ChatGPT ? unescape(item.data.ChatGPT.replaceAll(''', '\'')) : '' }
225-
onChange={ ( currentValue ) => propRef.onChangeHandler( { 'index': loopIndex, 'ChatGPT': currentValue ?? '' } ) }
225+
onChange={ ( currentValue ) => propRef.onChangeHandler( { 'index': loopIndex, 'ChatGPT': currentValue ?? '', aiProvider: selectedProvider } ) }
226226
disabled={!feedzyData.isPro || !providerLicenseStatus}
227227
/>
228228
<div className="fz-prompt-button">

0 commit comments

Comments
 (0)