update camera base URL, enhance alert context, and improve history list functionality
This commit is contained in:
@@ -50,6 +50,13 @@ export function reducer(state: AlertState, action: AlertPayload) {
|
||||
};
|
||||
}
|
||||
|
||||
case "DELETE": {
|
||||
return {
|
||||
...state,
|
||||
alertList: action.payload,
|
||||
};
|
||||
}
|
||||
|
||||
default:
|
||||
return { ...state };
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user