Skip to content

Commit

Permalink
Fix no selection tab being visible as subtabs with the sidebar design
Browse files Browse the repository at this point in the history
  • Loading branch information
david-swift committed Sep 21, 2023
1 parent 3b47c57 commit 8f031e4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Sources/SettingsKit/Model/Data/SettingsTab.swift
Original file line number Diff line number Diff line change
Expand Up @@ -101,8 +101,8 @@ public struct SettingsTab: Identifiable, View {
NavigationStack {
Form {
ForEach(content) { content in
NavigationLink(value: content.id) {
content.sidebarLabel
if !content.type.isNoSelection {
NavigationLink(value: content.id) { content.sidebarLabel }
}
}
if !sidebarActions.isEmpty {
Expand Down

0 comments on commit 8f031e4

Please sign in to comment.