add ability for menus to contain images (needed to handle EMInds top menu "hack")

This commit is contained in:
2026-03-06 22:09:02 -07:00
parent 89f70a3aa5
commit 406de6985e
4 changed files with 77 additions and 31 deletions
+1
View File
@@ -31,6 +31,7 @@ import (
type MenuItem struct {
Text string `yaml:"text"`
Link string `yaml:"link"`
Image string `yaml:"image"`
Disabled bool `yaml:"disabled"`
Hazard bool `yaml:"hazard"`
Permission string `yaml:"permission"`