mirror of
https://github.com/lxsang/antos-frontend.git
synced 2024-12-27 17:58:22 +01:00
fix notification error on service
This commit is contained in:
parent
2b67084392
commit
5ef3bfe7f0
@ -599,7 +599,7 @@ namespace OS {
|
|||||||
): void {
|
): void {
|
||||||
const mt = this.meta();
|
const mt = this.meta();
|
||||||
let icon: string = undefined;
|
let icon: string = undefined;
|
||||||
if (mt.icon) {
|
if (mt && mt.icon) {
|
||||||
icon = `${mt.path}/${mt.icon}`;
|
icon = `${mt.path}/${mt.icon}`;
|
||||||
}
|
}
|
||||||
return announcer.trigger(t, {
|
return announcer.trigger(t, {
|
||||||
@ -608,7 +608,7 @@ namespace OS {
|
|||||||
data: {
|
data: {
|
||||||
m: m,
|
m: m,
|
||||||
icon: icon,
|
icon: icon,
|
||||||
iconclass: mt.iconclass,
|
iconclass: mt?mt.iconclass:undefined,
|
||||||
e: e,
|
e: e,
|
||||||
},
|
},
|
||||||
});
|
});
|
||||||
|
@ -105,7 +105,7 @@ namespace OS {
|
|||||||
constructor(name: string, args: AppArgumentsType[]) {
|
constructor(name: string, args: AppArgumentsType[]) {
|
||||||
super(name, args);
|
super(name, args);
|
||||||
this.icon = undefined;
|
this.icon = undefined;
|
||||||
this.iconclass = "fa-paper-plane-o";
|
this.iconclass = "fa fa-paper-plane-o";
|
||||||
this.text = "";
|
this.text = "";
|
||||||
this.timer = undefined;
|
this.timer = undefined;
|
||||||
this.holder = undefined;
|
this.holder = undefined;
|
||||||
|
Loading…
Reference in New Issue
Block a user