fix: removed core type from ora app (#1040)

This commit is contained in:
Ahtisham Shahid
2024-04-30 18:09:28 +05:00
committed by GitHub
parent 2b82ac9faf
commit 35b5459dec
2 changed files with 6 additions and 2 deletions

View File

@@ -39,8 +39,12 @@ const NotificationPreferenceRow = ({ appId, preferenceName }) => {
));
// eslint-disable-next-line react-hooks/exhaustive-deps
}, [appId, preferenceName]);
const tooltipId = `${preferenceName}-tooltip`;
if (appId === 'ora' && preferenceName === 'core') {
return null;
}
return (
<div className="d-flex mb-3" data-testid="notification-preference">
<div className="d-flex align-items-center mr-auto">

View File

@@ -13,7 +13,7 @@ const messages = defineMessages({
discussion {Discussions}
coursework {Course Work}
updates {Updates}
ora {ORA}
ora {Grading}
other {{key}}
}`,
description: 'Display text for Notification Types',