We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent cb3b30d commit d3dfbd7Copy full SHA for d3dfbd7
tutorindigo/plugin.py
@@ -301,6 +301,27 @@ def _override_openedx_docker_image(
301
""",
302
),
303
)
304
+ PLUGIN_SLOTS.add_item(
305
+ (
306
+ mfe,
307
+ "progress_certificate_status_slot",
308
+ """
309
+ {
310
+ op: PLUGIN_OPERATIONS.Modify,
311
+ widgetId: 'default_contents',
312
+ fn: (widget) => {
313
+ const { RenderWidget } = widget;
314
+ if (RenderWidget.props.id === "notAvailable_certificate_status") {
315
+ widget.RenderWidget = <></>;
316
+ }
317
+
318
+ return widget;
319
+ },
320
321
322
+ """,
323
+ ),
324
+ )
325
else:
326
PLUGIN_SLOTS.add_item(
327
(
0 commit comments