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