1
0
mirror of https://github.com/taigrr/wtf synced 2025-01-18 04:03:14 -08:00

Merge pull request #383 from anandsudhir/dont-fail-on-unknown-widget

Do not fail with an error if the configuration has references to widget that do not exist (yet)
This commit is contained in:
Anand Sudhir Prayaga
2019-02-12 12:00:32 +01:00
committed by GitHub

View File

@@ -259,7 +259,6 @@ func addWidget(app *tview.Application, pages *tview.Pages, widgetName string) {
case "zendesk": case "zendesk":
widgets = append(widgets, zendesk.NewWidget(app)) widgets = append(widgets, zendesk.NewWidget(app))
default: default:
panic(widgetName)
} }
} }