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
commit 8a4c3ac121
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

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