fix: show settings navigation on Docker tab
The SettingsSectionNav was only visible on the Proxmox tab. Now it also shows on the Docker settings page (/settings/docker), displaying all four tabs: Virtual Environment, Backup Server, Mail Gateway, and Docker. When on the Docker tab, the navigation correctly highlights Docker as active.
This commit is contained in:
parent
de403f39be
commit
106be7540f
1 changed files with 2 additions and 2 deletions
|
|
@ -2098,9 +2098,9 @@ const Settings: Component<SettingsProps> = (props) => {
|
|||
</Show>
|
||||
|
||||
<div class="p-6 lg:p-8">
|
||||
<Show when={activeTab() === 'proxmox'}>
|
||||
<Show when={activeTab() === 'proxmox' || activeTab() === 'docker'}>
|
||||
<SettingsSectionNav
|
||||
current={selectedAgent()}
|
||||
current={activeTab() === 'docker' ? 'docker' : selectedAgent()}
|
||||
onSelect={handleSelectAgent}
|
||||
class="mb-6"
|
||||
/>
|
||||
|
|
|
|||
Loading…
Reference in a new issue