Merge branch 'release/1.8.0' into develop
This commit is contained in:
@@ -23,7 +23,7 @@ export type LocationEditFormProps = {
|
|||||||
export const LocationEditForm:FC<LocationEditFormProps> = ({ location, yearMonth }) =>
|
export const LocationEditForm:FC<LocationEditFormProps> = ({ location, yearMonth }) =>
|
||||||
{
|
{
|
||||||
const initialState = { message: null, errors: {} };
|
const initialState = { message: null, errors: {} };
|
||||||
const handleAction = updateOrAddLocation.bind(null, location?._id, yearMonth);
|
const handleAction = updateOrAddLocation.bind(null, location?._id, location?.yearMonth ?? yearMonth);
|
||||||
const [ state, dispatch ] = useFormState(handleAction, initialState);
|
const [ state, dispatch ] = useFormState(handleAction, initialState);
|
||||||
|
|
||||||
let { year, month } = location ? location.yearMonth : yearMonth;
|
let { year, month } = location ? location.yearMonth : yearMonth;
|
||||||
|
|||||||
@@ -9,7 +9,7 @@ networks:
|
|||||||
|
|
||||||
services:
|
services:
|
||||||
web-app:
|
web-app:
|
||||||
image: utility-bills-tracker:1.7.0
|
image: utility-bills-tracker:1.8.0
|
||||||
networks:
|
networks:
|
||||||
- traefik-network
|
- traefik-network
|
||||||
- mongo-network
|
- mongo-network
|
||||||
|
|||||||
Reference in New Issue
Block a user