mirror of
https://github.com/Eugeny/tabby.git
synced 2025-01-18 14:04:17 +08:00
Fix the linting issue
This commit is contained in:
parent
4ccc406768
commit
c9067cf8b8
@ -48,7 +48,9 @@ export class SSHSettingsTabComponent {
|
|||||||
|
|
||||||
copyConnection (connection) {
|
copyConnection (connection) {
|
||||||
const modal = this.ngbModal.open(EditConnectionModalComponent)
|
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 => {
|
modal.result.then(result => {
|
||||||
this.connections.push(result)
|
this.connections.push(result)
|
||||||
this.config.store.ssh.connections = this.connections
|
this.config.store.ssh.connections = this.connections
|
||||||
|
Loading…
Reference in New Issue
Block a user