Fleet UI: handle displayname for vpp (#35535)

This commit is contained in:
RachelElysia 2025-11-12 11:14:25 -05:00 committed by GitHub
parent 15703e9e6a
commit 7529f12c2e
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -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
};
};