Use string interpolation

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

View File

@ -107,7 +107,7 @@ export default Vue.extend({
this.fetching = false;
Progress.done();
document.title = Vue.filter('userName')(this.user) + ' | ' + (this as any).os.instanceName;
document.title = `${Vue.filter('userName')(this.user)} | ${(this as any).os.instanceName}`;
});
}
}