MM-29560 Correct Cloud detection in InProduct Notices (#15938)
Co-authored-by: Mattermod <mattermod@users.noreply.github.com>
Этот коммит содержится в:
коммит произвёл
GitHub
родитель
5b16ac7f13
Коммит
c9257b858e
@@ -221,7 +221,7 @@ func (a *App) GetProductNotices(userId, teamId string, client model.NoticeClient
|
||||
}
|
||||
|
||||
sku := a.Srv().ClientLicense()["SkuShortName"]
|
||||
isCloud := a.Srv().ClientLicense()["Cloud"] != ""
|
||||
isCloud := a.Srv().License() != nil && *a.Srv().License().Features.Cloud
|
||||
|
||||
filteredNotices := make([]model.NoticeMessage, 0)
|
||||
|
||||
|
||||
Ссылка в новой задаче
Block a user