mirror of
https://github.com/clucraft/PriceGhost.git
synced 2026-05-15 10:52:36 +02:00
Show all configured notification channels on product page
- Add Pushover badge to notification settings section - Update description to clarify all channels receive notifications - Fix condition to show section when Pushover is configured Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
parent
3fa913814d
commit
f1deb924d8
1 changed files with 6 additions and 3 deletions
|
|
@ -521,7 +521,7 @@ export default function ProductDetail() {
|
|||
onRangeChange={handleRangeChange}
|
||||
/>
|
||||
|
||||
{notificationSettings && (notificationSettings.telegram_configured || notificationSettings.discord_configured) && (
|
||||
{notificationSettings && (notificationSettings.telegram_configured || notificationSettings.discord_configured || notificationSettings.pushover_configured) && (
|
||||
<>
|
||||
<style>{`
|
||||
.notification-settings-card {
|
||||
|
|
@ -675,11 +675,14 @@ export default function ProductDetail() {
|
|||
{notificationSettings.discord_configured && (
|
||||
<span className="notification-channel-badge">Discord</span>
|
||||
)}
|
||||
{notificationSettings.pushover_configured && (
|
||||
<span className="notification-channel-badge">Pushover</span>
|
||||
)}
|
||||
</div>
|
||||
</div>
|
||||
<p className="notification-settings-description">
|
||||
Get notified when this product's price drops or comes back in stock.
|
||||
Notifications will be sent to your configured channels.
|
||||
Configure alerts for this product. When triggered, notifications will be sent to <strong>all</strong> your
|
||||
configured channels shown above.
|
||||
</p>
|
||||
|
||||
<div className="notification-form-row">
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue