Web: Changed constants.

This commit is contained in:
Tatiana Lopaeva 2021-10-05 19:20:21 +03:00
parent 4d67a29955
commit c82b931cc6
2 changed files with 7 additions and 5 deletions

View File

@ -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";

View File

@ -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;