Completed
Push — master ( 52d636...15db05 )
by Jonathan
14:04
created

image.js ➔ createdCell   A

Complexity

Conditions 2
Paths 2

Size

Total Lines 9
Code Lines 5

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
cc 2
eloc 5
nc 2
nop 6
dl 0
loc 9
rs 10
c 0
b 0
f 0
1
export class UitypeImage
2
{
3
    createdCell(columnData, td, cellData, rowData, row, col) {
0 ignored issues
show
Unused Code introduced by
The parameter col is not used and could be removed.

This check looks for parameters in functions that are not used in the function body and are not followed by other parameters which are used inside the function.

Loading history...
Unused Code introduced by
The parameter row is not used and could be removed.

This check looks for parameters in functions that are not used in the function body and are not followed by other parameters which are used inside the function.

Loading history...
Unused Code introduced by
The parameter rowData is not used and could be removed.

This check looks for parameters in functions that are not used in the function body and are not followed by other parameters which are used inside the function.

Loading history...
4
5
        if (cellData)
6
        {
7
            let html = `<div class="align-center"><img src="${cellData}" style="object-fit: cover; border-radius: 50%; width: 40px; height: 40px"></div>`
8
9
            $(td).html(html)
10
        }
11
    }
12
}