mirror of
https://github.com/lxsang/antos-frontend.git
synced 2024-11-08 05:58:22 +01:00
fix notification application icon bug
This commit is contained in:
parent
4ce83df4bb
commit
fa15f3c3b4
@ -85,7 +85,9 @@ class BaseModel
|
||||
|
||||
publish: (t, m, e) ->
|
||||
mt = @meta()
|
||||
_courrier.trigger t, { id: @pid, name: @name, data: { m: m, icon: mt.icon, iconclass: mt.iconclass }, error: e }
|
||||
icon = undefined
|
||||
icon = "#{mt.path}/#{mt.icon}" if mt.icon
|
||||
_courrier.trigger t, { id: @pid, name: @name, data: { m: m, icon: icon, iconclass: mt.iconclass }, error: e }
|
||||
|
||||
notify: (m) ->
|
||||
@publish "notification", m
|
||||
|
@ -1,7 +1,7 @@
|
||||
.dummyapp-icon {
|
||||
/*.dummyapp-icon {
|
||||
background-image: url("icon.png");
|
||||
background-color: blueviolet;
|
||||
display: block;
|
||||
width: 32px;
|
||||
height: 32px;
|
||||
}
|
||||
}*/
|
Loading…
Reference in New Issue
Block a user