fix: changing slot id

This commit is contained in:
Kira Miller
2025-02-27 17:18:41 +00:00
committed by Jason Wesson
parent 76783133da
commit b26d4632c9
3 changed files with 6 additions and 4 deletions

View File

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

View File

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

View File

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