fix linter warning
This commit is contained in:
parent
37e2e6bb9b
commit
d9863596a2
@ -21,12 +21,12 @@ func Checksum(fields []*op.ItemField) string {
|
|||||||
}
|
}
|
||||||
label := field.Label
|
label := field.Label
|
||||||
if field.Section != nil {
|
if field.Section != nil {
|
||||||
sectionId := field.Section.Label
|
sectionID := field.Section.Label
|
||||||
if sectionId == "" {
|
if sectionID == "" {
|
||||||
sectionId = field.Section.ID
|
sectionID = field.Section.ID
|
||||||
}
|
}
|
||||||
if sectionId != "" {
|
if sectionID != "" {
|
||||||
label = sectionId + "." + label
|
label = sectionID + "." + label
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
df = append(df, label+field.Value)
|
df = append(df, label+field.Value)
|
||||||
|
Loading…
Reference in New Issue
Block a user