알림목록 지표없음 문제 수정

This commit is contained in:
Macbook
2026-06-08 01:23:49 +09:00
parent 7055748b34
commit 0229799383
8 changed files with 166 additions and 39 deletions
@@ -26,6 +26,7 @@ import {
playTradeAlertSound,
type TradeAlertSoundId,
} from '../utils/tradeAlertSound';
import { normalizeStrategyId } from '../utils/resolveNotificationStrategy';
import { getUiPreferences, patchUiPreferences } from '../utils/uiPreferencesDb';
import { useAppSettings } from '../hooks/useAppSettings';
@@ -87,7 +88,7 @@ function dtoToItem(dto: TradeSignalDto, readIds: Set<string>): TradeNotification
price: dto.price,
candleTime: dto.candleTime,
strategyName: dto.strategyName,
strategyId: dto.strategyId,
strategyId: normalizeStrategyId(dto.strategyId) ?? undefined,
executionType: dto.executionType,
candleType: dto.candleType,
isRead: readIds.has(id),