fix: changing slot id
This commit is contained in:
committed by
Jason Wesson
parent
76783133da
commit
b26d4632c9
@@ -1,6 +1,8 @@
|
||||
# Dashboard Modal Slot
|
||||
|
||||
### Slot ID: `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
|
||||
|
||||
## Description
|
||||
|
||||
@@ -18,7 +20,7 @@ import { ModalDialog } from '@openedx/paragon';
|
||||
|
||||
const config = {
|
||||
pluginSlots: {
|
||||
dashboard_modal_slot: {
|
||||
org.openedx.frontend.learner_dashboard.dashboard_modal.v1: {
|
||||
plugins: [
|
||||
{
|
||||
op: PLUGIN_OPERATIONS.Insert,
|
||||
|
||||
@@ -2,7 +2,7 @@ import React from 'react';
|
||||
import { PluginSlot } from '@openedx/frontend-plugin-framework';
|
||||
|
||||
const DashboardModalSlot = () => (
|
||||
<PluginSlot id="dashboard_modal_slot" />
|
||||
<PluginSlot id="org.openedx.frontend.learner_dashboard.dashboard_modal.v1" />
|
||||
);
|
||||
|
||||
export default DashboardModalSlot;
|
||||
|
||||
@@ -5,4 +5,4 @@
|
||||
* [`widget_sidebar_slot`](./WidgetSidebarSlot/)
|
||||
* [`course_list_slot`](./CourseListSlot/)
|
||||
* [`no_courses_view_slot`](./NoCoursesViewSlot/)
|
||||
* [`dashboard_modal_slot`](./DashboardModalSlot)
|
||||
* [`org.openedx.frontend.learner_dashboard.dashboard_modal.v1`](./DashboardModalSlot)
|
||||
Reference in New Issue
Block a user