Switch assignment to operator

This commit is contained in:
Bogdan 2023-11-22 21:50:29 +02:00
parent 5f1d7ddc11
commit cb08c0767d
1 changed files with 1 additions and 1 deletions

View File

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