mirror of
https://github.com/langgenius/dify.git
synced 2026-05-05 01:48:04 +08:00
feat: install progress
This commit is contained in:
@ -149,7 +149,11 @@ const PluginPage = ({
|
||||
<span className="system-xs-regular">Drop plugin package here to install</span>
|
||||
</div>
|
||||
{currentFile && (
|
||||
<InstallFromLocalPackage file={currentFile} onClose={removeFile ?? (() => { })} />
|
||||
<InstallFromLocalPackage
|
||||
file={currentFile}
|
||||
onClose={removeFile ?? (() => { })}
|
||||
onSuccess={() => { }}
|
||||
/>
|
||||
)}
|
||||
<input
|
||||
ref={fileUploader}
|
||||
|
||||
@ -94,11 +94,13 @@ const InstallPluginDropdown = () => {
|
||||
</PortalToFollowElemContent>
|
||||
</div>
|
||||
{selectedAction === 'marketplace' && <InstallFromMarketplace onClose={() => setSelectedAction(null)} />}
|
||||
{selectedAction === 'github' && <InstallFromGitHub onClose={() => setSelectedAction(null)}/>}
|
||||
{selectedAction === 'github' && <InstallFromGitHub onClose={() => setSelectedAction(null)} />}
|
||||
{selectedAction === 'local' && selectedFile
|
||||
&& (<InstallFromLocalPackage
|
||||
file={selectedFile}
|
||||
onClose={() => setSelectedAction(null)}/>
|
||||
onClose={() => setSelectedAction(null)}
|
||||
onSuccess={() => { }}
|
||||
/>
|
||||
)
|
||||
}
|
||||
</PortalToFollowElem>
|
||||
|
||||
Reference in New Issue
Block a user