Skip to content

Commit

Permalink
[FIX]: Fixed user state issue
Browse files Browse the repository at this point in the history
  • Loading branch information
vineyrawat committed Jul 26, 2023
1 parent d28bde9 commit 2efbfce
Show file tree
Hide file tree
Showing 10 changed files with 374 additions and 12 deletions.
2 changes: 1 addition & 1 deletion tekton_theme/overrides/user/user.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,5 @@

@frappe.whitelist()
def switch_theme(theme):
if theme in ["Dark", "Light", "Automatic", "Tekton-Blue"]:
if theme in ["Dark", "Light", "Automatic", "Tekton-blue"]:
frappe.db.set_value("User", frappe.session.user, "desk_theme", theme)
164 changes: 164 additions & 0 deletions tekton_theme/public/dist/css-rtl/tekton.bundle.QJRECOJ2.css

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 0 additions & 2 deletions tekton_theme/public/dist/css-rtl/tekton.bundle.SIDJJCW3.css

This file was deleted.

Loading

0 comments on commit 2efbfce

Please sign in to comment.