1
1
mirror of https://github.com/Eugeny/tabby.git synced 2024-11-25 19:17:39 +03:00

lint: using a template literal

This commit is contained in:
Zenghai Liang 2020-10-14 17:17:07 +08:00
parent c9067cf8b8
commit 70cf63f8fa
No known key found for this signature in database
GPG Key ID: B389E2148C1B2E0D

View File

@ -49,7 +49,7 @@ export class SSHSettingsTabComponent {
copyConnection (connection) {
const modal = this.ngbModal.open(EditConnectionModalComponent)
modal.componentInstance.connection = Object.assign({
name: name + ' Copy'
name: `${name} Copy`,
}, connection)
modal.result.then(result => {
this.connections.push(result)