Skip to content

Commit

Permalink
address feedback
Browse files Browse the repository at this point in the history
  • Loading branch information
mikecarenzo committed Feb 28, 2024
1 parent e833a31 commit 08b92ea
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -231,7 +231,7 @@ export class UniversalSchemaMappingFileSerializer extends MappingFileSerializer
obj: Partial<UniversalSchemaMappingObject>
): MappingObjectImport {
// Compute technology domain
let target_framework = obj.technology_domain
let target_framework = obj.technology_domain;
if(target_framework) {
target_framework = `mitre_attack_${ target_framework }`;
}
Expand Down
6 changes: 3 additions & 3 deletions src/mappings_editor/src/assets/configuration/app.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,9 @@ const config: AppConfiguration = {
file_type_extension: "json",
native_frameworks_manifest: manifest,
frameworks_with_navigator_support: new Map([
["mitre_attack_enterprise", "enterprise"],
["mitre_attack_mobile", "mobile"],
["mitre_attack_ics", "ics"]
["mitre_attack_ics", "ics"],
["mitre_attack_mobile", "mobile"],
["mitre_attack_enterprise", "enterprise"]
]),
menus: {
help_menu: {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ export class MappingFileSerializer {
mapping_objects[i] = this.compressObjectExport(file.mapping_objects[i], file);
}
// Return file
return JSON.stringify({ ...file, mapping_objects }, null, 4)
return JSON.stringify({ ...file, mapping_objects }, null, 4);
}

/**
Expand Down

0 comments on commit 08b92ea

Please sign in to comment.