parent
8f9cc300b3
commit
bbe1e618a3
@ -169,16 +169,18 @@ const PluginCatalog = () => {
|
|||||||
</Button>
|
</Button>
|
||||||
)}
|
)}
|
||||||
</div>
|
</div>
|
||||||
<Switch
|
{experimentalFeatureEnabed && (
|
||||||
checked={isActivePlugin}
|
<Switch
|
||||||
onCheckedChange={(e) => {
|
checked={isActivePlugin}
|
||||||
if (e === true) {
|
onCheckedChange={(e) => {
|
||||||
downloadTarball(item.name)
|
if (e === true) {
|
||||||
} else {
|
downloadTarball(item.name)
|
||||||
uninstall(item.name)
|
} else {
|
||||||
}
|
uninstall(item.name)
|
||||||
}}
|
}
|
||||||
/>
|
}}
|
||||||
|
/>
|
||||||
|
)}
|
||||||
</div>
|
</div>
|
||||||
)
|
)
|
||||||
})}
|
})}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user