File tree Expand file tree Collapse file tree
assets/YAML/default/Implementation Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -471,12 +471,16 @@ export class MappingComponent implements OnInit {
471471 }
472472 }
473473 for ( var i = 0 ; i < ISO22Array . length ; i ++ ) {
474- this . temporaryMappingElement [ 'ISO22' ] = ISO22Array [ i ] ;
475- this . allMappingDataSortedByISO22 . push ( this . temporaryMappingElement ) ;
474+ const newTempElement = JSON . parse (
475+ JSON . stringify ( this . temporaryMappingElement )
476+ ) ;
477+ newTempElement [ 'ISO22' ] = ISO22Array [ i ] ;
478+ //console.log(newTempElement);
479+ this . allMappingDataSortedByISO22 . push ( newTempElement ) ;
476480 if ( this . YamlObject [ dim ] [ subDim ] [ task ] [ 'isImplemented' ] ) {
477- this . performedMappingDataSortedByISO22 . push ( this . temporaryMappingElement ) ;
481+ this . performedMappingDataSortedByISO22 . push ( newTempElement ) ;
478482 } else {
479- this . plannedMappingDataSortedByISO22 . push ( this . temporaryMappingElement ) ;
483+ this . plannedMappingDataSortedByISO22 . push ( newTempElement ) ;
480484 }
481485 }
482486 //sorting by descending order
Original file line number Diff line number Diff line change @@ -47,9 +47,9 @@ Implementation:
4747 - 14.2.1
4848 - 14.2.5
4949 iso27001-2022 :
50- - " 8.25" # Secure development lifecycle
51- - " 8.27" # Secure system architecture and engineering principles
52- - " 8.28" # Secure coding
50+ - 8.25 # Secure development lifecycle
51+ - 8.27 # Secure system architecture and engineering principles
52+ - 8.28 # Secure coding
5353 isImplemented : false
5454 evidence : " "
5555 comments : " "
You can’t perform that action at this time.
0 commit comments