mirror of
https://github.com/coder/coder.git
synced 2025-07-15 22:20:27 +00:00
feat: add support for multiple banners (#13081)
This commit is contained in:
committed by
GitHub
parent
a4bd50c985
commit
d8e0be6ee6
@ -35,7 +35,7 @@ import (
|
||||
type API struct {
|
||||
opts Options
|
||||
*ManifestAPI
|
||||
*ServiceBannerAPI
|
||||
*NotificationBannerAPI
|
||||
*StatsAPI
|
||||
*LifecycleAPI
|
||||
*AppsAPI
|
||||
@ -107,7 +107,7 @@ func New(opts Options) *API {
|
||||
},
|
||||
}
|
||||
|
||||
api.ServiceBannerAPI = &ServiceBannerAPI{
|
||||
api.NotificationBannerAPI = &NotificationBannerAPI{
|
||||
appearanceFetcher: opts.AppearanceFetcher,
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user