Skip to content
Snippets Groups Projects
Unverified Commit 2c2543b4 authored by Sean Hatfield's avatar Sean Hatfield Committed by GitHub
Browse files

fix settings button path on single user mode (#383)

parent f40309cf
No related branches found
No related tags found
No related merge requests found
......@@ -274,9 +274,12 @@ export function SidebarMobileHeader() {
}
function SettingsButton() {
const { user } = useUser();
return (
<a
href={paths.settings.system()}
href={
!!user?.role ? paths.settings.system() : paths.settings.appearance()
}
className="transition-all duration-300 p-2 rounded-full text-white bg-sidebar-button hover:bg-menu-item-selected-gradient hover:border-slate-100 hover:border-opacity-50 border-transparent border"
>
<Wrench className="h-4 w-4" weight="fill" />
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment