Test version (#4792)
* plugin node version select (#4760) * plugin node version select * type * fix * fix * perf: version list * fix node version (#4787) * change my select * fix-ui * fix test * add test * fix * remove invalid version field * filter deprecated field * fix: claude tool call * fix: test --------- Co-authored-by: heheer <heheer@sealos.io>
This commit is contained in:
@@ -146,7 +146,7 @@ export const checkNode = async ({
|
||||
}: {
|
||||
node: StoreNodeItemType;
|
||||
ownerTmbId: string;
|
||||
}) => {
|
||||
}): Promise<StoreNodeItemType> => {
|
||||
const pluginId = node.pluginId;
|
||||
if (!pluginId) return node;
|
||||
|
||||
@@ -160,7 +160,7 @@ export const checkNode = async ({
|
||||
});
|
||||
}
|
||||
|
||||
const preview = await getChildAppPreviewNode({ id: pluginId });
|
||||
const preview = await getChildAppPreviewNode({ appId: pluginId });
|
||||
return {
|
||||
...node,
|
||||
pluginData: {
|
||||
@@ -175,7 +175,6 @@ export const checkNode = async ({
|
||||
} catch (error: any) {
|
||||
return {
|
||||
...node,
|
||||
isError: true,
|
||||
pluginData: {
|
||||
error
|
||||
} as PluginDataType
|
||||
|
||||
Reference in New Issue
Block a user