Skip to content

Commit

Permalink
fix test failure
Browse files Browse the repository at this point in the history
  • Loading branch information
ftl committed Dec 10, 2023
1 parent fb0a41a commit d732847
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/hamdeck/config.go
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ func (d *HamDeck) ReadConfig(r io.Reader) error {
buttons, ok := effectiveConfiguration[ConfigButtons].([]any)
if ok {
err = d.loadLegacyPage(buttons)
} else {
} else if len(d.pages) == 0 {
d.loadEmptyLegacyPage()
}
if err != nil {
Expand Down

0 comments on commit d732847

Please sign in to comment.