Migrate to generic S3 mount
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user