Work on sending campaigns. Campaign status page half-way done, but does not work yet.
This commit is contained in:
parent
67d7129f7b
commit
d1fa4f4211
66 changed files with 1653 additions and 525 deletions
|
@ -125,6 +125,7 @@ export class UntrustedContentHost extends Component {
|
|||
|
||||
scheduleRefreshAccessToken() {
|
||||
this.refreshAccessTokenTimeout = setTimeout(() => {
|
||||
// noinspection JSIgnoredPromiseFromCall
|
||||
this.refreshAccessToken();
|
||||
this.scheduleRefreshAccessToken();
|
||||
}, 60 * 1000);
|
||||
|
@ -136,6 +137,7 @@ export class UntrustedContentHost extends Component {
|
|||
}
|
||||
|
||||
if (!this.state.hasAccessToken) {
|
||||
// noinspection JSIgnoredPromiseFromCall
|
||||
this.refreshAccessToken();
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue