Bulk operations dashboard: update edit-script (#21527)
Changes: - Fixed a bug where an undeployed script would have a duplicate file extension when it is deployed to a team on a Fleet instance
This commit is contained in:
@@ -69,7 +69,7 @@ module.exports = {
|
||||
} else if (!newScript && !script.teams){// Undeployed profiles are stored in the app's database.
|
||||
// console.log('editing an undeployed profile!');
|
||||
scriptContents = script.scriptContents;
|
||||
filename = script.name + script.scriptType;
|
||||
filename = script.name;
|
||||
extension = script.scriptType;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user