Migrate to generic S3 mount

This commit is contained in:
2020-07-31 17:14:42 -05:00
parent 5608d18a7f
commit ade5fdc38d
3 changed files with 7 additions and 7 deletions

View File

@@ -158,7 +158,7 @@ class MountItems extends IPCContainer {
} else {
let allowAction = true;
if (mount) {
let result = remote || provider === "GooboxS3" || provider === "Skynet" ?
let result = remote || provider === 'S3' || provider === 'Skynet' ?
{Valid: true, Success: true} :
this.sendSyncRequest(Constants.IPC_Check_Daemon_Version, {
Provider: provider,
@@ -221,7 +221,7 @@ class MountItems extends IPCContainer {
getProviderList = providersOnly => {
const providerList = Constants.PROVIDER_LIST.filter(i => {
return ((i === 'GooboxS3') && this.props.gooboxS3Supported) ||
return ((i === 'S3') && this.props.s3Supported) ||
((i === 'Skynet') && this.props.skynetSupported) ||
((i === 'ScPrime') && this.props.scPrimeSupported) ||
((i === 'Sia') && this.props.siaSupported);