~emersion/drmdb

b2b6c5f15f8f061d12461753b2a45cb1d04bf879 — Simon Ser 25 days ago 31ca651 master
Fix property page with no supporting driver
1 files changed, 3 insertions(+), 1 deletions(-)

M server.go
M server.go => server.go +3 -1
@@ 312,7 312,9 @@ func New() *echo.Echo {

		drivers := make(map[string]bool)
		err := database.Walk(func(k string, n *drmtree.Node) error {
			drivers[n.Driver.Name] = false
			if _, ok := drivers[n.Driver.Name]; !ok {
				drivers[n.Driver.Name] = false
			}

			return walkNodeProps(n, func(obj drm.AnyID, name string, p *drmtree.Property) error {
				if obj.Type() != objectType || name != propertyName {