Skip to content

Commit 8f031e4

Browse files
committed
Fix no selection tab being visible as subtabs with the sidebar design
1 parent 3b47c57 commit 8f031e4

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Sources/SettingsKit/Model/Data/SettingsTab.swift

+2-2
Original file line numberDiff line numberDiff line change
@@ -101,8 +101,8 @@ public struct SettingsTab: Identifiable, View {
101101
NavigationStack {
102102
Form {
103103
ForEach(content) { content in
104-
NavigationLink(value: content.id) {
105-
content.sidebarLabel
104+
if !content.type.isNoSelection {
105+
NavigationLink(value: content.id) { content.sidebarLabel }
106106
}
107107
}
108108
if !sidebarActions.isEmpty {

0 commit comments

Comments
 (0)