mirror of
https://github.com/lxsang/antos-frontend.git
synced 2025-04-19 22:16:43 +02: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) ->
|
publish: (t, m, e) ->
|
||||||
mt = @meta()
|
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) ->
|
notify: (m) ->
|
||||||
@publish "notification", m
|
@publish "notification", m
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
.dummyapp-icon {
|
/*.dummyapp-icon {
|
||||||
background-image: url("icon.png");
|
background-image: url("icon.png");
|
||||||
background-color: blueviolet;
|
background-color: blueviolet;
|
||||||
display: block;
|
display: block;
|
||||||
width: 32px;
|
width: 32px;
|
||||||
height: 32px;
|
height: 32px;
|
||||||
}
|
}*/
|
Loading…
x
Reference in New Issue
Block a user