mirror of
https://github.com/fleetdm/fleet
synced 2026-05-22 16:39:01 +00:00
MSP dashboard: Update edit-script and edit-profile inputs (#24567)
Changes: - Updated the edit-script and edit-profile actions to make sure that new team IDs are always numbers.
This commit is contained in:
parent
874a1bf495
commit
6540ec7601
2 changed files with 2 additions and 2 deletions
|
|
@ -15,7 +15,7 @@ module.exports = {
|
|||
required: true,
|
||||
},
|
||||
newTeamIds: {
|
||||
type: ['string'],
|
||||
type: ['number'],
|
||||
description: 'An array of teams that this profile will be deployed on or Undefined if the profile is being removed from a team.'
|
||||
},
|
||||
newProfile: {
|
||||
|
|
|
|||
|
|
@ -15,7 +15,7 @@ module.exports = {
|
|||
required: true,
|
||||
},
|
||||
newTeamIds: {
|
||||
type: ['ref'],
|
||||
type: ['number'],
|
||||
description: 'An array of teams that this script will be added to.'
|
||||
},
|
||||
newScript: {
|
||||
|
|
|
|||
Loading…
Reference in a new issue