This commit is contained in:
Eugene Pankov 2018-09-10 17:40:52 +02:00
parent d6fb71dca2
commit 0f8c27e536
3 changed files with 7 additions and 1 deletions

View File

@ -13,7 +13,7 @@
i.fa.fa-fw.fa-history
span {{lastConnection.name}}
.list-group.mt-3
.list-group.mt-3.connections-list
ng-container(*ngFor='let group of childGroups')
.list-group-item.list-group-item-action.d-flex.align-items-center(
(click)='groupCollapsed[group.name] = !groupCollapsed[group.name]'

View File

@ -0,0 +1,5 @@
.list-group.connections-list {
display: block;
max-height: 70vh;
overflow-y: auto;
}

View File

@ -8,6 +8,7 @@ import { SSHConnection, ISSHConnectionGroup } from '../api'
@Component({
template: require('./sshModal.component.pug'),
styles: [require('./sshModal.component.scss')],
})
export class SSHModalComponent {
connections: SSHConnection[]