Skip to content

Commit

Permalink
Merge pull request #65 from xuzhu-591/fix-tags-missing
Browse files Browse the repository at this point in the history
fix: missing tags fields when creating chart type application
  • Loading branch information
xuzhu-591 authored Feb 29, 2024
2 parents 651573a + cd359ae commit 8f8bc91
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/pages/applications/NewOrEdit/v2/ChartDeploy.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ export default (props: any) => {
const createReq: API.CreateOrUpdateRequestV2 = {
name: form.getFieldValue(ResourceKey.NAME),
description: form.getFieldValue(ResourceKey.DESCRIPTION),
priority: form.getFieldValue(ResourceKey.PRIORITY),
tags: form.getFieldValue(ResourceKey.TAGS) || [],
templateInfo: { name: templateBasic.name, release: releaseName! },
templateConfig,
};
Expand Down
2 changes: 1 addition & 1 deletion src/services/typings.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -220,7 +220,7 @@ declare namespace API {
type CreateOrUpdateRequestV2 = {
name: string
description: string
priority: string;
priority?: string;
tags?: Tag[];
git?: GitInfo;
image?: string;
Expand Down

0 comments on commit 8f8bc91

Please sign in to comment.