diff options
Diffstat (limited to 'model')
-rw-r--r-- | model/config.go | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/model/config.go b/model/config.go index 5b52767ca..f5e8fe27a 100644 --- a/model/config.go +++ b/model/config.go @@ -394,6 +394,10 @@ func (s *ServiceSettings) SetDefaults() { if s.PostEditTimeLimit == nil { s.PostEditTimeLimit = NewInt(300) } + + if s.EnablePreviewFeatures == nil { + s.EnablePreviewFeatures = NewBool(true) + } } type ClusterSettings struct { |