Fix name-availability-check for Reposts
3f805a61
broke Reposts. The action needs to return whether there are any clashes.
This commit is contained in:
parent
65789a26ed
commit
82f278dbde
1 changed files with 3 additions and 1 deletions
|
@ -1024,10 +1024,12 @@ export function doCheckPublishNameAvailability(name: string) {
|
|||
useAutoPagination: true,
|
||||
}
|
||||
)
|
||||
).then(() => {
|
||||
).then((result) => {
|
||||
dispatch({
|
||||
type: ACTIONS.CHECK_PUBLISH_NAME_COMPLETED,
|
||||
});
|
||||
|
||||
return Object.keys(result).length === 0;
|
||||
});
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue