mirror of
https://github.com/snapotter-hq/SnapOtter.git
synced 2026-08-03 07:46:42 +02:00
fix: show tool name instead of bundle name on AI feature install prompt
The install prompt and error messages were showing the underlying AI bundle name (e.g. "Background Removal") instead of the actual tool name (e.g. "Passport Photo"). Now the UI shows the correct tool name and description while still installing the correct bundle behind the scenes. Closes #130
This commit is contained in:
@@ -292,7 +292,12 @@ export function ToolPage() {
|
||||
if (isAiTool && !toolInstalled && featureBundle) {
|
||||
return (
|
||||
<AppLayout>
|
||||
<FeatureInstallPrompt bundle={featureBundle} isAdmin={isAdmin} toolName={tool?.name} />
|
||||
<FeatureInstallPrompt
|
||||
bundle={featureBundle}
|
||||
isAdmin={isAdmin}
|
||||
toolName={tool?.name}
|
||||
toolDescription={tool?.description}
|
||||
/>
|
||||
</AppLayout>
|
||||
);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user