mirror of
https://github.com/we-promise/sure.git
synced 2026-04-19 03:54:08 +00:00
Fix time period key conflicts (#1944)
This commit is contained in:
@@ -2,7 +2,7 @@ class PagesController < ApplicationController
|
||||
skip_before_action :authenticate_user!, only: %i[early_access]
|
||||
|
||||
def dashboard
|
||||
@period = Period.from_key(params[:period], fallback: true)
|
||||
@period = params[:period] ? Period.from_key(params[:period]) : Period.last_30_days
|
||||
@balance_sheet = Current.family.balance_sheet
|
||||
@accounts = Current.family.accounts.active.with_attached_logo
|
||||
|
||||
|
||||
Reference in New Issue
Block a user