mirror of
https://github.com/we-promise/sure.git
synced 2026-04-19 03:54:08 +00:00
Add appearance setting for 2 column layout (#1285)
This commit is contained in:
@@ -320,6 +320,10 @@ class User < ApplicationRecord
|
||||
preferences&.dig("show_split_grouped") != false
|
||||
end
|
||||
|
||||
def dashboard_two_column?
|
||||
preferences&.dig("dashboard_two_column") != false
|
||||
end
|
||||
|
||||
def update_transactions_preferences(prefs)
|
||||
transaction do
|
||||
lock!
|
||||
|
||||
Reference in New Issue
Block a user