Web: Changed constants.
This commit is contained in:
parent
4d67a29955
commit
c82b931cc6
@ -143,10 +143,10 @@ export const LoaderStyle = {
|
||||
};
|
||||
|
||||
export const ThirdPartyStorages = Object.freeze({
|
||||
GoogleId: "GoogleCloud",
|
||||
RackspaceId: "Rackspace",
|
||||
SelectelId: "Selectel",
|
||||
AmazonId: "S3",
|
||||
GoogleId: "googlecloud",
|
||||
RackspaceId: "rackspace",
|
||||
SelectelId: "selectel",
|
||||
AmazonId: "s3",
|
||||
});
|
||||
|
||||
import config from "./AppServerConfig";
|
||||
|
@ -1,5 +1,7 @@
|
||||
import { ThirdPartyStorages } from "@appserver/common/constants";
|
||||
|
||||
export const getOptions = (storageBackup) => {
|
||||
let googleStorageId = "GoogleCloud";
|
||||
let googleStorageId = ThirdPartyStorages.GoogleId;
|
||||
let options = [];
|
||||
let availableStorage = {};
|
||||
let firstSet = false;
|
||||
|
Loading…
Reference in New Issue
Block a user