File tree Expand file tree Collapse file tree
app/component/circular-heatmap Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -219,15 +219,28 @@ export class CircularHeatmapComponent implements OnInit {
219219
220220 svg . selectAll ( "path" )
221221 . on ( 'click' , function ( d ) {
222- _self . cardSubheader = d . explicitOriginalTarget . __data__ . Level
223- _self . tasksData = d . explicitOriginalTarget . __data__ . Task ;
224- _self . cardHeader = d . explicitOriginalTarget . __data__ . Name
222+ console . log ( d )
223+ try {
224+ curr = d . explicitOriginalTarget . __data__
225+ }
226+ catch {
227+ curr = d . srcElement . __data__
228+
229+ }
230+ _self . cardSubheader = curr . Level
231+ _self . tasksData = curr . Task ;
232+ _self . cardHeader = curr . Name
225233 _self . showTaskCard = true
226234 //console.log(_self.tasksData)
227235 } )
228236 . on ( 'mouseover' , function ( d ) {
229- console . log ( d . explicitOriginalTarget )
230- curr = d . explicitOriginalTarget . __data__
237+ console . log ( d . toElement . __data__ . Name )
238+ try {
239+ curr = d . explicitOriginalTarget . __data__
240+ }
241+ catch {
242+ curr = d . toElement . __data__
243+ }
231244 //console.log(curr)
232245 // increase the segment height of the one being hovered as well as all others of the same date
233246 // while decreasing the height of all others accordingly
Original file line number Diff line number Diff line change @@ -1760,7 +1760,7 @@ Implementation:
17601760 evidence : " "
17611761 comments : " "
17621762 assessment : " "
1763- Pre-Commit checks & validations :
1763+ Pre-Commit checks and validations :
17641764 risk : Using an insecure application might lead to a compromised application.
17651765 This might lead to total data theft or data modification.
17661766 measure : |
You can’t perform that action at this time.
0 commit comments