Build Agentic workflows, RAG pipelines, with rich AI model and tool support on one collaborative workspace. Deploy on cloud, VPC, or self-hosted, so teams move from prototype to production without rebuilding the stack.
Python agentagentic-aiagentic-frameworkagentic-workflowaiautomationclaudedeepseekgenaigptllmlow-codemcpnextjsno-codeopenaipythonskillsworkflow
fix: fix page broken for undefined permission (#19972)
Good Wood09547b4c8d9c
diff --git a/web/app/components/plugins/permission-setting-modal/modal.tsx b/web/app/components/plugins/permission-setting-modal/modal.tsxindex f56c079818a..6fd4d8c2dc5 100644--- a/web/app/components/plugins/permission-setting-modal/modal.tsx+++ b/web/app/components/plugins/permission-setting-modal/modal.tsx@@ -49,8 +49,8 @@ const PluginSettingModal: FC<Props> = ({</div><div className='flex flex-col items-start justify-center gap-4 self-stretch px-6 py-3'>{[- { title: t(`${i18nPrefix}.whoCanInstall`), key: 'install_permission', value: tempPrivilege.install_permission },- { title: t(`${i18nPrefix}.whoCanDebug`), key: 'debug_permission', value: tempPrivilege.debug_permission },+ { title: t(`${i18nPrefix}.whoCanInstall`), key: 'install_permission', value: tempPrivilege?.install_permission || PermissionType.noOne },+ { title: t(`${i18nPrefix}.whoCanDebug`), key: 'debug_permission', value: tempPrivilege?.debug_permission || PermissionType.noOne },].map(({ title, key, value }) => (<div key={key} className='flex flex-col items-start gap-1 self-stretch'><div className='flex h-6 items-center gap-0.5'>