Hide API Key and Plugin Key buttons if set server side (#423)

This commit is contained in:
itbm
2023-04-04 23:53:10 +01:00
committed by GitHub
parent d324df1bab
commit fc60f65c74
3 changed files with 22 additions and 6 deletions
+2
View File
@@ -763,7 +763,9 @@ const Home: React.FC<HomeProps> = ({
lightMode={lightMode}
selectedConversation={selectedConversation}
apiKey={apiKey}
serverSideApiKeyIsSet={serverSideApiKeyIsSet}
pluginKeys={pluginKeys}
serverSidePluginKeysSet={serverSidePluginKeysSet}
folders={folders.filter((folder) => folder.type === 'chat')}
onToggleLightMode={handleLightMode}
onCreateFolder={(name) => handleCreateFolder(name, 'chat')}