Compare commits
No commits in common. "7779f794e4654a7122dbe3a4bb531248f9a54dbf" and "2140a63add20fde08ba59bc4c533f3aa0d348062" have entirely different histories.
7779f794e4
...
2140a63add
|
@ -19,7 +19,7 @@ export default class UppyFileUpload extends BasePlugin {
|
||||||
}
|
}
|
||||||
|
|
||||||
install() {
|
install() {
|
||||||
this.uppy.addUploader(this.handleUpload.bind(this));
|
this.uppy.addUploader(this.handleUpload);
|
||||||
}
|
}
|
||||||
|
|
||||||
private async handleUpload(fileIDs: string[]) {
|
private async handleUpload(fileIDs: string[]) {
|
||||||
|
|
|
@ -76,7 +76,6 @@ export class PortalAuthProvider implements RequiredAuthProvider {
|
||||||
if (!redirectTo) {
|
if (!redirectTo) {
|
||||||
redirectTo = ret ? "/dashboard" : "/login";
|
redirectTo = ret ? "/dashboard" : "/login";
|
||||||
}
|
}
|
||||||
this._sdk.setAuthToken(this._sdk.account().jwtToken);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
return {
|
return {
|
||||||
|
|
Loading…
Reference in New Issue