읽음 안읽음

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; appNotificationTitle: string;
appNotificationContent: string; appNotificationContent: string;
appNotificationLink: string; appNotificationLink: string;
appNotificationAllowed: boolean;
}; };
export interface AppAlarmFindParams { export interface AppAlarmFindParams {

View File

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

View File

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