Skip to content

Commit

Permalink
client: get dhcp status on static lease submit
Browse files Browse the repository at this point in the history
  • Loading branch information
IldarKamalov committed Jun 10, 2021
1 parent 2ae4e3a commit cac62f8
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions client/src/actions/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -561,6 +561,7 @@ export const addStaticLease = (config) => async (dispatch) => {
dispatch(addStaticLeaseSuccess(config));
dispatch(addSuccessToast(i18next.t('dhcp_lease_added', { key: name })));
dispatch(toggleLeaseModal());
dispatch(getDhcpStatus());
} catch (error) {
dispatch(addErrorToast({ error }));
dispatch(addStaticLeaseFailure());
Expand Down

0 comments on commit cac62f8

Please sign in to comment.