Store S3 mount locations

This commit is contained in:
2021-05-02 01:56:07 -05:00
parent 8521686e3c
commit a9997aa90c

View File

@@ -81,12 +81,14 @@ export const saveState = () => {
let currentState = {
Release: state.relver.Release,
RemoteMounts: state.mounts.RemoteMounts,
S3Mounts: state.mounts.S3Mounts,
Version: state.relver.Version,
};
const providerList = [
...Constants.PROVIDER_LIST,
...state.mounts.RemoteMounts,
...state.mounts.S3Mounts,
];
for (const provider of providerList) {
currentState[provider] = state.mounts.ProviderState[provider];