@@ -1,8 +1,6 @@
|
||||
# Dashboard Modal Slot
|
||||
|
||||
### Slot ID: `org.openedx.frontend.learner_dashboard.dashboard_modal.v1`
|
||||
|
||||
### https://github.com/openedx/frontend-plugin-framework/blob/master/docs/decisions/0003-slot-naming-and-life-cycle.rst#1-naming-format
|
||||
### Slot ID: `dashboard_modal_slot`
|
||||
|
||||
## Description
|
||||
|
||||
@@ -20,7 +18,7 @@ import { ModalDialog } from '@openedx/paragon';
|
||||
|
||||
const config = {
|
||||
pluginSlots: {
|
||||
org.openedx.frontend.learner_dashboard.dashboard_modal.v1: {
|
||||
dashboard_modal_slot: {
|
||||
plugins: [
|
||||
{
|
||||
op: PLUGIN_OPERATIONS.Insert,
|
||||
|
||||
@@ -2,7 +2,7 @@ import React from 'react';
|
||||
import { PluginSlot } from '@openedx/frontend-plugin-framework';
|
||||
|
||||
const DashboardModalSlot = () => (
|
||||
<PluginSlot id="org.openedx.frontend.learner_dashboard.dashboard_modal.v1" />
|
||||
<PluginSlot id="dashboard_modal_slot" />
|
||||
);
|
||||
|
||||
export default DashboardModalSlot;
|
||||
|
||||
@@ -5,4 +5,4 @@
|
||||
* [`widget_sidebar_slot`](./WidgetSidebarSlot/)
|
||||
* [`course_list_slot`](./CourseListSlot/)
|
||||
* [`no_courses_view_slot`](./NoCoursesViewSlot/)
|
||||
* [`org.openedx.frontend.learner_dashboard.dashboard_modal.v1`](./DashboardModalSlot)
|
||||
* [`dashboard_modal_slot`](./DashboardModalSlot)
|
||||
Reference in New Issue
Block a user