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 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)