feat(admin): let price alerts pick a product

Show the product on the form and table so each alert is tied to one item.

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
2026-08-18 22:23:22 +03:30
co-authored by Cursor
parent 14c9843abb
commit c332e9df24
6 changed files with 38 additions and 98 deletions
+2
View File
@@ -1,6 +1,8 @@
export interface PriceTriggers{
id?: number
customer_id: number
product_id?: number
product?: { id: number; title?: string }
target_price: number
price_condition: string
action: string