New: Default name when adding providers

This commit is contained in:
Bogdan
2023-08-14 02:27:59 +03:00
parent 27928103c5
commit a758161e31
16 changed files with 48 additions and 18 deletions
@@ -184,6 +184,8 @@ export const reducers = createHandleActions({
[SELECT_INDEXER_SCHEMA]: (state, { payload }) => {
return selectSchema(state, payload, (selectedSchema) => {
selectedSchema.name = payload.name ?? payload.implementationName;
selectedSchema.implementationName = payload.implementationName;
selectedSchema.enable = selectedSchema.supportsRss;
return selectedSchema;