diff --git a/packages/stock-portfolio/src/app/app.component.ts b/packages/stock-portfolio/src/app/app.component.ts index 0e2522f..c6d6a0a 100644 --- a/packages/stock-portfolio/src/app/app.component.ts +++ b/packages/stock-portfolio/src/app/app.component.ts @@ -109,12 +109,11 @@ export class AppComponent { } private _displayNotification(message: string) { - const favicon = document.querySelector('link[rel="icon"]'); Notifications.create({ title: 'Portfolio History', body: message, category: 'Portfolio History', - icon: favicon.href + icon: 'favicon.ico' }); } diff --git a/resources/win/run.cmd b/resources/win/run.cmd index cedf691..00ee0bc 100644 --- a/resources/win/run.cmd +++ b/resources/win/run.cmd @@ -41,7 +41,10 @@ echo "description": "A financial OpenFin application that was developed u echo "icon": "%main_app_url%/favicon.ico", echo "name": "Stock Portfolio" echo }, -echo "services": [ {"name": "layouts"} ], +echo "services": [ +echo {"name": "layouts"}, +echo {"name": "notifications"} +echo ], echo "features": { echo "snap": true, echo "dock": true,