File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -75,11 +75,12 @@ export class DojoNotificationStore implements NotificationStore {
7575 ) ,
7676 ( rows : NotificationRowData [ ] ) => {
7777 return rows . map ( ( item ) => {
78+ const app = this . core . appStore . getBySystem ( item . app ) ;
7879 return {
7980 from : item . from ,
8081 to : item . to ,
8182 color : item . color ,
82- app : item . app ,
83+ app : app ?. name || item . app ,
8384 position : {
8485 x : item [ "position.x" ] ,
8586 y : item [ "position.y" ] ,
@@ -119,14 +120,15 @@ export class DojoNotificationStore implements NotificationStore {
119120 return ;
120121 }
121122
123+ const app = this . core . appStore . getBySystem ( p . app . value ) ;
122124 const notification = {
123125 from :
124126 p . from . value . option === "None"
125127 ? null
126128 : p . from . value . value . value ,
127129 to : p . to . value . option === "None" ? null : p . to . value . value . value ,
128130 color : p . color . value ,
129- app : p . app . value ,
131+ app : app ?. name || p . app . value ,
130132 position : {
131133 x : p . position . value . x . value ,
132134 y : p . position . value . y . value ,
You can’t perform that action at this time.
0 commit comments