RC fixes #2473

Merged
neb-b merged 26 commits from fixes into master 2019-05-14 20:22:04 +02:00
4 changed files with 3 additions and 5 deletions
Showing only changes of commit 91f3b5f4ba - Show all commits

View file

@ -4,7 +4,7 @@ declare type UpdatePublishFormData = {
filePath?: string,
contentIsFree?: boolean,
fee?: {
amount: number,
amount: string,
currency: string,
},
title?: string,

View file

@ -29,7 +29,7 @@ type Props = {
nsfw: boolean,
contentIsFree: boolean,
fee: {
amount: number,
amount: string,
currency: string,
},
channel: string,

View file

@ -35,7 +35,7 @@ export function doDeleteFile(outpoint, deleteFromComputer, abandonClaim) {
if (abandonClaim && myClaimsOutpoints.indexOf(outpoint) !== -1) {
const [txid, nout] = outpoint.split(':');
dispatch(doAbandonClaim(txid, nout));
dispatch(doAbandonClaim(txid, Number(nout)));
}
dispatch({

View file

@ -43,7 +43,6 @@ export const doResetThumbnailStatus = () => (dispatch: Dispatch) => {
data: {
uploadThumbnailStatus: THUMBNAIL_STATUSES.READY,
thumbnail: '',
nsfw: false,
},
});
})
@ -53,7 +52,6 @@ export const doResetThumbnailStatus = () => (dispatch: Dispatch) => {
data: {
uploadThumbnailStatus: THUMBNAIL_STATUSES.API_DOWN,
thumbnail: '',
nsfw: false,
},
})
);