읽음 안읽음

This commit is contained in:
focp212@naver.com
2025-11-04 17:46:55 +09:00
parent 249461389e
commit 89aa320e26
3 changed files with 5 additions and 1 deletions

View File

@@ -31,6 +31,7 @@ export interface AlarmListContent {
appNotificationTitle: string;
appNotificationContent: string;
appNotificationLink: string;
appNotificationAllowed: boolean;
};
export interface AppAlarmFindParams {

View File

@@ -16,6 +16,7 @@ export interface AlarmItemProps {
appNotificationTitle?: string;
appNotificationContent?: string;
appNotificationLink?: string;
appNotificationAllowed?: boolean;
setAlarmRoutesOn: (alarmRoutesOn: boolean) => void;
setAlarmOptions: (alarmOptions: AlarmLinkOptions) => void;
};
@@ -27,6 +28,7 @@ export const AlarmItem = ({
appNotificationTitle,
appNotificationContent,
appNotificationLink,
appNotificationAllowed,
setAlarmRoutesOn,
setAlarmOptions
}: AlarmItemProps) => {
@@ -57,7 +59,7 @@ export const AlarmItem = ({
};
const callAppAlarmMark = () => {
if(!!userInfo.usrid && !!appNotificationSequence){
if(!!userInfo.usrid && !!appNotificationSequence && !appNotificationAllowed){
let params: AppAlarmMarkParams = {
appNotificationSequence: appNotificationSequence,
usrid: userInfo.usrid

View File

@@ -108,6 +108,7 @@ export const AlarmList = ({
appNotificationTitle={ resultList[i]?.appNotificationTitle }
appNotificationContent={ resultList[i]?.appNotificationContent }
appNotificationLink={ resultList[i]?.appNotificationLink }
appNotificationAllowed={ resultList[i]?.appNotificationAllowed }
setAlarmRoutesOn={ setAlarmRoutesOn }
setAlarmOptions={ setAlarmOptions }
></AlarmItem>