Store S3 mount locations
This commit is contained in:
@@ -81,12 +81,14 @@ export const saveState = () => {
|
|||||||
let currentState = {
|
let currentState = {
|
||||||
Release: state.relver.Release,
|
Release: state.relver.Release,
|
||||||
RemoteMounts: state.mounts.RemoteMounts,
|
RemoteMounts: state.mounts.RemoteMounts,
|
||||||
|
S3Mounts: state.mounts.S3Mounts,
|
||||||
Version: state.relver.Version,
|
Version: state.relver.Version,
|
||||||
};
|
};
|
||||||
|
|
||||||
const providerList = [
|
const providerList = [
|
||||||
...Constants.PROVIDER_LIST,
|
...Constants.PROVIDER_LIST,
|
||||||
...state.mounts.RemoteMounts,
|
...state.mounts.RemoteMounts,
|
||||||
|
...state.mounts.S3Mounts,
|
||||||
];
|
];
|
||||||
for (const provider of providerList) {
|
for (const provider of providerList) {
|
||||||
currentState[provider] = state.mounts.ProviderState[provider];
|
currentState[provider] = state.mounts.ProviderState[provider];
|
||||||
|
|||||||
Reference in New Issue
Block a user