Switch assignment to operator

pull/9446/head
Bogdan 1 year ago
parent 5f1d7ddc11
commit cb08c0767d

@ -122,7 +122,7 @@ export default {
return selectProviderSchema(state, section, payload, (selectedSchema) => { return selectProviderSchema(state, section, payload, (selectedSchema) => {
selectedSchema.name = payload.presetName ?? payload.implementationName; selectedSchema.name = payload.presetName ?? payload.implementationName;
selectedSchema.implementationName = payload.implementationName; selectedSchema.implementationName = payload.implementationName;
selectedSchema.minRefreshInterval ??= payload.minRefreshInterval; selectedSchema.minRefreshInterval = selectedSchema.minRefreshInterval ?? payload.minRefreshInterval;
selectedSchema.minimumAvailability = 'released'; selectedSchema.minimumAvailability = 'released';
selectedSchema.rootFolderPath = ''; selectedSchema.rootFolderPath = '';

Loading…
Cancel
Save