Revert "fix: changing slot id"

This reverts commit b26d4632c9.
This commit is contained in:
Jason Wesson
2025-03-03 10:29:12 -08:00
parent e1c1c51704
commit 4a18c890c3
3 changed files with 4 additions and 6 deletions

View File

@@ -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,

View File

@@ -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;

View File

@@ -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)