fixes 18172: manifest type can now be undefined as well
Signed-off-by: ashinsabu <ashin.sabu3@gmail.com>
This commit is contained in:
@@ -29,5 +29,9 @@ export const useTemplateParameterSchema = (templateRef: string) => {
|
||||
[scaffolderApi, templateRef],
|
||||
);
|
||||
|
||||
return { manifest: value as TemplateParameterSchema, loading, error };
|
||||
return {
|
||||
manifest: value as TemplateParameterSchema | undefined,
|
||||
loading,
|
||||
error,
|
||||
};
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user