| ... | ... | @@ -151,7 +151,9 @@ final class SectionStrip: UIView { |
| 151 | 151 | let group = tab.group.split(separator: "/").first.map(String.init) |
| 152 | 152 | if let group { |
| 153 | 153 | guard groups.insert(group).inserted else { continue } |
| 154 | | let inside = notebook.tabs.filter { $0.readable && $0.group.hasPrefix(group) } |
| 154 | let inside = notebook.tabs.filter { |
| 155 | $0.readable && ($0.group == group || $0.group.hasPrefix(group + "/")) |
| 156 | } |
| 155 | 157 | let current = inside.first { $0.path == path } |
| 156 | 158 | row.addArrangedSubview( |
| 157 | 159 | button(current?.name ?? group, color: current?.uiColor ?? .systemGray, raised: current != nil, |