fix(legacy bookmark): add actionLabel in toast.success
This commit is contained in:
parent
9e49099003
commit
a339bb93ea
|
@ -368,7 +368,7 @@ const bookmark = (status: StatusEntity) =>
|
||||||
dispatch(bookmarkSuccess(status, response.data));
|
dispatch(bookmarkSuccess(status, response.data));
|
||||||
|
|
||||||
toast.success(messages.bookmarkAdded, {
|
toast.success(messages.bookmarkAdded, {
|
||||||
actionLink: '/bookmarks',
|
actionLink: '/bookmarks/all', actionLabel: messages.view,
|
||||||
});
|
});
|
||||||
}).catch(function(error) {
|
}).catch(function(error) {
|
||||||
dispatch(bookmarkFail(status, error));
|
dispatch(bookmarkFail(status, error));
|
||||||
|
|
Loading…
Reference in New Issue