fix: update currentTriggerPlugin check in BasePanel component (#28287)
This commit is contained in:
@@ -298,7 +298,7 @@ const BasePanel: FC<BasePanelProps> = ({
|
||||
const { setDetail } = usePluginStore()
|
||||
|
||||
useEffect(() => {
|
||||
if (currentTriggerPlugin?.subscription_constructor) {
|
||||
if (currentTriggerPlugin) {
|
||||
setDetail({
|
||||
name: currentTriggerPlugin.label[language],
|
||||
plugin_id: currentTriggerPlugin.plugin_id || '',
|
||||
|
||||
Reference in New Issue
Block a user