mirror of
https://github.com/Eugeny/tabby.git
synced 2025-06-20 11:29:56 +00:00
lint: using a template literal
This commit is contained in:
parent
c9067cf8b8
commit
70cf63f8fa
@ -49,7 +49,7 @@ export class SSHSettingsTabComponent {
|
|||||||
copyConnection (connection) {
|
copyConnection (connection) {
|
||||||
const modal = this.ngbModal.open(EditConnectionModalComponent)
|
const modal = this.ngbModal.open(EditConnectionModalComponent)
|
||||||
modal.componentInstance.connection = Object.assign({
|
modal.componentInstance.connection = Object.assign({
|
||||||
name: name + ' Copy'
|
name: `${name} Copy`,
|
||||||
}, connection)
|
}, connection)
|
||||||
modal.result.then(result => {
|
modal.result.then(result => {
|
||||||
this.connections.push(result)
|
this.connections.push(result)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user