mirror of
https://github.com/coder/coder.git
synced 2026-09-24 15:04:27 +08:00
fix: Pass experimental to the FE through the API (#4597)
This commit is contained in:
@@ -224,6 +224,7 @@ func (api *API) updateEntitlements(ctx context.Context) error {
|
||||
if err != nil {
|
||||
return err
|
||||
}
|
||||
entitlements.Experimental = api.Experimental
|
||||
|
||||
featureChanged := func(featureName string) (changed bool, enabled bool) {
|
||||
if api.entitlements.Features == nil {
|
||||
|
||||
Reference in New Issue
Block a user