Use string interpolation

This commit is contained in:
Aya Morisawa 2018-09-01 23:12:51 +09:00 committed by syuilo
parent ffb345ccb5
commit d8dcc4da27
40 changed files with 53 additions and 53 deletions

View file

@ -80,7 +80,7 @@ export default Vue.extend({
accepted() {
this.state = 'accepted';
if (this.session.app.callbackUrl) {
location.href = this.session.app.callbackUrl + '?token=' + this.session.token;
location.href = `${this.session.app.callbackUrl}?token=${this.session.token}`;
}
}
}