You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In my app, user can create packages and upload files in some package.
So, if we create package and add some files, onClick event doesn't work. I can't check/uncheck checkboxes in table.
If I go back to home page, and then open that package, all clicks is work. I think, is initialization component not correct.
I change 'onClick' on 'onMouseDown', it works, but I want made it with 'onClick'.
if (!packageUUID) { // if is it new package
const createdUUID = await PackageApi.createPackage('New Package', '', 'Country', []);
reRenderCallBack(); // request files from that package
history.push(/repository/package_${createdUUID});
createdUUID && await PackageApi.uploadFiles(acceptedFiles, createdUUID, reRenderCallBack);
}
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
-
In my app, user can create packages and upload files in some package.
So, if we create package and add some files, onClick event doesn't work. I can't check/uncheck checkboxes in table.
If I go back to home page, and then open that package, all clicks is work. I think, is initialization component not correct.
I change 'onClick' on 'onMouseDown', it works, but I want made it with 'onClick'.
if (!packageUUID) { // if is it new package
const createdUUID = await PackageApi.createPackage('New Package', '', 'Country', []);
reRenderCallBack(); // request files from that package
history.push(
/repository/package_${createdUUID}
);createdUUID && await PackageApi.uploadFiles(acceptedFiles, createdUUID, reRenderCallBack);
}
P.S. Sorry for my English)
Beta Was this translation helpful? Give feedback.
All reactions