Bump deps, get op item edit with json stdin, finally #1

Merged
roberto merged 5 commits from chore/bump-deps-and-json-edit-finally into main 2023-11-26 20:57:43 +00:00
Showing only changes of commit d9863596a2 - Show all commits

View File

@ -21,12 +21,12 @@ func Checksum(fields []*op.ItemField) string {
}
label := field.Label
if field.Section != nil {
sectionId := field.Section.Label
if sectionId == "" {
sectionId = field.Section.ID
sectionID := field.Section.Label
if sectionID == "" {
sectionID = field.Section.ID
}
if sectionId != "" {
label = sectionId + "." + label
if sectionID != "" {
label = sectionID + "." + label
}
}
df = append(df, label+field.Value)