mirror of
https://github.com/fleetdm/fleet
synced 2026-05-24 01:18:42 +00:00
Fleet UI: handle displayname for vpp (#35535)
This commit is contained in:
parent
15703e9e6a
commit
7529f12c2e
1 changed files with 2 additions and 2 deletions
|
|
@ -41,6 +41,7 @@ export interface IEditVppAppPostBody {
|
|||
labels_include_any?: string[];
|
||||
labels_exclude_any?: string[];
|
||||
categories?: SoftwareCategory[];
|
||||
display_name?: string;
|
||||
}
|
||||
|
||||
export interface IGetVppAppsResponse {
|
||||
|
|
@ -62,9 +63,8 @@ const handleDisplayNameVppForm = (
|
|||
teamId: number
|
||||
): IEditVppAppPostBody => {
|
||||
return {
|
||||
self_service: false, // or some default as needed
|
||||
display_name: formData.displayName,
|
||||
team_id: teamId,
|
||||
// you might not need categories/labels with this form
|
||||
};
|
||||
};
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue