Fix prompt cost block showing when switching API type to TC and type is not OpenRouter

23e5a7ca384d8b93bf76a34c3c89e4001d853022

Cohee <18619528+Cohee1207@users.noreply.github.com>

1 files changed, +1 -1Showing whitespace changes
public/script.js+1 -1
@@ -6752,7 +6752,7 @@ export function changeMainAPI() {
67526752 $('#ai_module_block_novel').css('display', 'none');
67536753 }
67546754
67556755 $('#prompt_cost_block').toggle(selectedVal === 'textgenerationwebui' && textgen_settings.type === textgen_types.OPENROUTER);
67566756
67576757 // Hide common settings for OpenAI
67586758 console.debug('value?', selectedVal);