Add “manual connection busy” state

This commit is contained in:
Philipp Stracker 2024-11-04 16:48:59 +01:00
parent d5745709d8
commit b3e25ace3f
No known key found for this signature in database
3 changed files with 18 additions and 0 deletions

View file

@ -38,6 +38,19 @@ export const setIsSaving = ( isSaving ) => {
};
};
/**
* Non-persistent. Changes the "manual connection is busy" flag.
*
* @param {boolean} isBusy
* @return {{type: string, isBusy}} The action.
*/
export const setManualConnectionIsBusy = ( isBusy ) => {
return {
type: ACTION_TYPES.SET_IS_SAVING_ONBOARDING,
isBusy,
};
};
/**
* Persistent. Set the full onboarding details, usually during app initialization.
*