diff --git a/ee/bulk-operations-dashboard/api/models/UndeployedProfile.js b/ee/bulk-operations-dashboard/api/models/UndeployedProfile.js index 53695260d1..2d13a1993f 100644 --- a/ee/bulk-operations-dashboard/api/models/UndeployedProfile.js +++ b/ee/bulk-operations-dashboard/api/models/UndeployedProfile.js @@ -35,6 +35,7 @@ module.exports = { isIn: [ '.mobileconfig', '.xml', + '.json', ], }, diff --git a/ee/bulk-operations-dashboard/assets/js/components/file-upload.component.js b/ee/bulk-operations-dashboard/assets/js/components/file-upload.component.js index c5e9357f94..d10816e7ab 100644 --- a/ee/bulk-operations-dashboard/assets/js/components/file-upload.component.js +++ b/ee/bulk-operations-dashboard/assets/js/components/file-upload.component.js @@ -96,7 +96,7 @@ parasails.registerComponent('fileUpload', { - + @@ -104,7 +104,7 @@ parasails.registerComponent('fileUpload', {
-

{{selectedFileName.replace(/\.(xml|mobileconfig)$/g, '').replace(/^\d{4}-\d{2}-\d{2}_/, '')}}

+

{{selectedFileName.replace(/\.(xml|mobileconfig|json)$/g, '').replace(/^\d{4}-\d{2}-\d{2}_/, '')}}

Windows

macOS, iOS, iPadOS