diff --git a/src/components/dashboard/bestsellingwidget.ts b/src/components/dashboard/bestsellingwidget.ts index 76270aa..7cabbdc 100644 --- a/src/components/dashboard/bestsellingwidget.ts +++ b/src/components/dashboard/bestsellingwidget.ts @@ -5,6 +5,7 @@ import { MenuModule } from 'primeng/menu'; @Component({ standalone:true, + selector: 'app-best-selling-widget', imports: [ CommonModule, ButtonModule, diff --git a/src/components/dashboard/notificationswidget.ts b/src/components/dashboard/notificationswidget.ts index 029882c..6cd1218 100644 --- a/src/components/dashboard/notificationswidget.ts +++ b/src/components/dashboard/notificationswidget.ts @@ -4,6 +4,7 @@ import { MenuModule } from 'primeng/menu'; @Component({ standalone:true, + selector: 'app-notifications-widget', imports: [ ButtonModule, MenuModule, @@ -55,5 +56,8 @@ import { MenuModule } from 'primeng/menu'; `, }) export class NotificationsWidget { - + items = [ + { label: 'Add New', icon: 'pi pi-fw pi-plus' }, + { label: 'Remove', icon: 'pi pi-fw pi-trash' } + ]; } diff --git a/src/components/dashboard/recentsaleswidget.ts b/src/components/dashboard/recentsaleswidget.ts index dc03926..e087d23 100644 --- a/src/components/dashboard/recentsaleswidget.ts +++ b/src/components/dashboard/recentsaleswidget.ts @@ -8,6 +8,7 @@ import { ProductService } from '@/src/app/demo/service/product.service'; @Component({ standalone:true, + selector: 'app-recent-sales-widget', imports: [ CommonModule, TableModule, diff --git a/src/components/dashboard/revenuestreamwidget.ts b/src/components/dashboard/revenuestreamwidget.ts index 32262df..03d969d 100644 --- a/src/components/dashboard/revenuestreamwidget.ts +++ b/src/components/dashboard/revenuestreamwidget.ts @@ -5,6 +5,7 @@ import { LayoutService } from '@/src/app/layout/service/app.layout.service'; @Component({ standalone:true, + selector: 'app-revenue-stream-widget', imports: [ ChartModule, ], diff --git a/src/components/dashboard/statswidget.ts b/src/components/dashboard/statswidget.ts index d70cdb7..32ab589 100644 --- a/src/components/dashboard/statswidget.ts +++ b/src/components/dashboard/statswidget.ts @@ -3,6 +3,7 @@ import { CommonModule } from '@angular/common'; @Component({ standalone:true, + selector: 'app-stats-widget', imports: [CommonModule], template: `