Skip to content

Commit

Permalink
fix: 修复未传参问题
Browse files Browse the repository at this point in the history
  • Loading branch information
tingfuyeh committed Sep 9, 2024
1 parent 558563c commit 17d1fb9
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
2 changes: 2 additions & 0 deletions web/src/polaris/namespace/model.ts
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ export interface CreateNamespaceParams {
user_ids?: string[]
group_ids?: string[]
service_export_to?: string[]
sync_to_global_registry?: boolean
}
export interface CreateNamespaceResult {
namespace: Namespace
Expand All @@ -29,6 +30,7 @@ export interface ModifyNamespaceParams {
remove_user_ids?: string[]
remove_group_ids?: string[]
service_export_to?: string[]
sync_to_global_registry?: boolean
}
export interface ModifyNamespaceResult {
size: number
Expand Down
2 changes: 2 additions & 0 deletions web/src/polaris/namespace/operation/CreateDuck.ts
Original file line number Diff line number Diff line change
Expand Up @@ -70,6 +70,7 @@ export default class CreateDuck extends FormDialog {
remove_user_ids: removeUserIds,
remove_group_ids: removeGroupIds,
service_export_to,
sync_to_global_registry: values.sync_to_global_registry,
},
]),
)
Expand All @@ -83,6 +84,7 @@ export default class CreateDuck extends FormDialog {
user_ids: userIds,
group_ids: groupIds,
service_export_to,
sync_to_global_registry: values.sync_to_global_registry,
},
]),
)
Expand Down

0 comments on commit 17d1fb9

Please # to comment.