From 7212ce84d1a991b6425b1edf12017c68732986d3 Mon Sep 17 00:00:00 2001 From: Rain Date: Sat, 18 Jan 2020 17:03:52 +0800 Subject: [PATCH] feature(notify): Display id of notification from its ClusterID --- pkg/notify/models/mod_notification.go | 1 + 1 file changed, 1 insertion(+) diff --git a/pkg/notify/models/mod_notification.go b/pkg/notify/models/mod_notification.go index 3c54fa5a6e..976c5206b3 100644 --- a/pkg/notify/models/mod_notification.go +++ b/pkg/notify/models/mod_notification.go @@ -135,6 +135,7 @@ func (self *SNotification) GetCustomizeColumns(ctx context.Context, userCred mcc } ret := jsonutils.NewDict() ret.Add(jsonutils.Marshal(userDetails), "user_list") + ret.Add(jsonutils.NewString(self.ClusterID), "id") return ret }