@if (isRemote()) { } @if (menuOpen()) {
@if (connections.grouped().root.length || connections.grouped().folders.length) {
} @for (connection of connections.grouped().root; track connection.id) { } @for (group of connections.grouped().folders; track group.folder.id) {
{{ group.folder.name }}
@for (connection of group.connections; track connection.id) { } }
}
@for (entry of panel().sorted(); track entry.name; let i = $index) {
{{ entry.name }}
{{ entry.type === 'dir' ? '—' : formatSize(entry.size) }} {{ formatDate(entry.mtime) }}
} @empty {
Empty directory
}
{{ panel().sorted().length }} items @if (panel().selected().size; as count) { · {{ count }} selected }