1
1
mirror of https://github.com/Eugeny/tabby.git synced 2024-12-28 04:56:16 +03:00

Fix the linting issue

This commit is contained in:
Zenghai Liang 2020-10-14 16:57:09 +08:00
parent 4ccc406768
commit c9067cf8b8
No known key found for this signature in database
GPG Key ID: B389E2148C1B2E0D

View File

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