fix: pass extra prop to plugin slot (#1494)
passing model as a prop to plugin slot for dynamic model selection SONIC-717
This commit is contained in:
@@ -78,6 +78,7 @@ const NotificationsWidget = () => {
|
||||
id="notification_widget_slot"
|
||||
pluginProps={{
|
||||
courseId,
|
||||
model: 'coursewareMeta',
|
||||
notificationCurrentState: upgradeNotificationCurrentState,
|
||||
setNotificationCurrentState: setUpgradeNotificationCurrentState,
|
||||
toggleSidebar: onToggleSidebar,
|
||||
|
||||
@@ -86,6 +86,7 @@ const NotificationTray = ({ intl }) => {
|
||||
id="notification_tray_slot"
|
||||
pluginProps={{
|
||||
courseId,
|
||||
model: 'coursewareMeta',
|
||||
notificationCurrentState: upgradeNotificationCurrentState,
|
||||
setNotificationCurrentState: setUpgradeNotificationCurrentState,
|
||||
}}
|
||||
|
||||
Reference in New Issue
Block a user