Add create bookmark
This commit is contained in:
parent
64b893b778
commit
55625b1be4
19 changed files with 382 additions and 13 deletions
|
|
@ -33,7 +33,13 @@ namespace Start.Client.Store.Features.CreateGroup {
|
|||
return;
|
||||
}
|
||||
|
||||
dispatch.Dispatch(new AddBookmarkGroupAction(action.NewGroup));
|
||||
if (apiResponse.Content == null) {
|
||||
dispatch.Dispatch(new ErrorFetchingCreateGroupAction(
|
||||
"Error creating bookmark group"));
|
||||
return;
|
||||
}
|
||||
|
||||
dispatch.Dispatch(new AddBookmarkGroupAction(apiResponse.Content));
|
||||
dispatch.Dispatch(new RecievedCreateGroupAction());
|
||||
dispatch.Dispatch(new HideCreateGroupFormAction());
|
||||
} catch (AccessTokenNotAvailableException e) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue