Merge branch 'main' into dev

This commit is contained in:
Svilen Markov
2025-03-12 18:04:16 +00:00
12 changed files with 61 additions and 31 deletions
+2 -2
View File
@@ -125,13 +125,13 @@ type widget interface {
// These need to be exported because they get called in templates
Render() template.HTML
GetType() string
GetID() uint64
initialize() error
requiresUpdate(*time.Time) bool
setProviders(*widgetProviders)
update(context.Context)
setID(uint64)
id() uint64
handleRequest(w http.ResponseWriter, r *http.Request)
setHideHeader(bool)
}
@@ -188,7 +188,7 @@ func (w *widgetBase) update(ctx context.Context) {
}
func (w *widgetBase) id() uint64 {
func (w *widgetBase) GetID() uint64 {
return w.ID
}