mirror of
https://github.com/langbot-app/LangBot.git
synced 2026-08-12 05:40:58 +00:00
fix(plugin-market): restore missing "页面"(Page) component filter option
The market component-filter list on this branch was a diverged rewrite that dropped the Page component kind master had added. The i18n key (market.componentName.Page) already existed; re-add the Page entry to the componentOptions list so plugins providing Page components can be filtered. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
This commit is contained in:
@@ -22,6 +22,7 @@ import {
|
|||||||
Hash,
|
Hash,
|
||||||
Book,
|
Book,
|
||||||
FileText,
|
FileText,
|
||||||
|
AppWindow,
|
||||||
SlidersHorizontal,
|
SlidersHorizontal,
|
||||||
X,
|
X,
|
||||||
Info,
|
Info,
|
||||||
@@ -193,6 +194,11 @@ function MarketPageContent({
|
|||||||
label: t('market.componentName.Parser'),
|
label: t('market.componentName.Parser'),
|
||||||
icon: FileText,
|
icon: FileText,
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
value: 'Page',
|
||||||
|
label: t('market.componentName.Page'),
|
||||||
|
icon: AppWindow,
|
||||||
|
},
|
||||||
];
|
];
|
||||||
|
|
||||||
// 获取当前排序参数
|
// 获取当前排序参数
|
||||||
|
|||||||
Reference in New Issue
Block a user