Check for duplicate portals
This commit is contained in:
@@ -6,6 +6,7 @@ export const hostReducer = createReducer(
|
||||
DisplayAddEditHost: false,
|
||||
Edit: false,
|
||||
HostData: {},
|
||||
HostList: [],
|
||||
},
|
||||
{
|
||||
[Actions.DISPLAY_ADD_EDIT_HOST]: (state, action) => {
|
||||
@@ -14,6 +15,7 @@ export const hostReducer = createReducer(
|
||||
DisplayAddEditHost: action.payload.display,
|
||||
Edit: !!action.payload.host_data,
|
||||
HostData: action.payload.host_data || {},
|
||||
HostList: action.payload.host_list || [],
|
||||
};
|
||||
},
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user