Settings View Fixes - Theme not working/Nav Items not highlighted (#4522)

* Fix theme not working

* Fix Nav items of teams not highlighted
This commit is contained in:
Hariom Balhara 2022-09-16 17:33:58 +05:30 committed by GitHub
parent cc03b132e6
commit 52e74245a4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 4 additions and 4 deletions

View File

@ -165,7 +165,7 @@ const AppearanceView = () => {
</>
)}
/>
<Button color="primary" className="mt-8">
<Button type="submit" color="primary" className="mt-8">
{t("update")}
</Button>
</Form>

View File

@ -213,14 +213,14 @@ const SettingsSidebarContainer = ({ className = "" }) => {
{team.accepted && (
<VerticalTabItem
name={t("profile")}
href={`${WEBAPP_URL}/settings/teams/${team.id}/profile`}
href={`/settings/teams/${team.id}/profile`}
textClassNames="px-3 text-gray-900 font-medium text-sm"
disableChevron
/>
)}
<VerticalTabItem
name={t("members")}
href={`${WEBAPP_URL}/settings/teams/${team.id}/members`}
href={`/settings/teams/${team.id}/members`}
textClassNames="px-3 text-gray-900 font-medium text-sm"
disableChevron
/>
@ -235,7 +235,7 @@ const SettingsSidebarContainer = ({ className = "" }) => {
/> */}
<VerticalTabItem
name={t("appearance")}
href={`${WEBAPP_URL}/settings/teams/${team.id}/appearance`}
href={`/settings/teams/${team.id}/appearance`}
textClassNames="px-3 text-gray-900 font-medium text-sm"
disableChevron
/>