Why doesn’t the “Help” button disappear?
I added the code to my plugin, but the “Help” button still hasn’t disappeared.
PLUGIN_SLOTS.add_items([
(
"all",
"learning_help_slot",
"""
{
op: PLUGIN_OPERATIONS.Hide,
}
"""
)
])
This is not related to plugin installation or anything like that, because this code works:
PLUGIN_SLOTS.add_items([
(
"all",
"course_info_slot",
"""
{
op: PLUGIN_OPERATIONS.Insert,
widget: {
id: 'custom_before_course_info_component',
type: DIRECT_PLUGIN,
priority: 10,
RenderWidget: () => (
<h3 style={{
marginTop: 'auto',
marginBottom: 'auto',
marginRight: '0.5rem',
}}>🌜</h3>
),
},
}
"""
),
(
"all",
"course_info_slot",
"""
{
op: PLUGIN_OPERATIONS.Insert,
widget: {
id: 'custom_after_course_info_component',
type: DIRECT_PLUGIN,
priority: 90,
RenderWidget: () => (
<h3 style={{
marginTop: 'auto',
marginBottom: 'auto',
marginLeft: '0.5rem',
}}>🌛</h3>
),
},
}
"""
)
])