mirror of
https://github.com/yunionio/cloudpods.git
synced 2026-09-24 16:03:43 +08:00
fix(notify): enable websocket notifications defaultly for event notify
This commit is contained in:
@@ -348,7 +348,7 @@ func (nm *SNotificationManager) PerformEventNotify(ctx context.Context, userCred
|
||||
|
||||
func (nm *SNotificationManager) needWebconsole(topics []STopic) bool {
|
||||
for i := range topics {
|
||||
if topics[i].WebconsoleDisable.IsFalse() {
|
||||
if topics[i].WebconsoleDisable.IsFalse() || topics[i].WebconsoleDisable.IsNone() {
|
||||
return true
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user