Fixed some small display issues.

This commit is contained in:
James Cole
2016-12-22 17:04:41 +01:00
parent cabdf4e380
commit 284db7f90b
4 changed files with 4 additions and 4 deletions

View File

@@ -83,7 +83,7 @@ class BudgetController extends Controller
}
Preferences::mark();
return Response::json(['name' => $budget->name, 'repetition' => $limitRepetition ? $limitRepetition->id : 0]);
return Response::json(['name' => $budget->name, 'repetition' => $limitRepetition ? $limitRepetition->id : 0, 'amount' => $amount]);
}

View File

@@ -63,7 +63,7 @@ class HomeController extends Controller
// a possible problem with the budgets.
if ($label === strval(trans('firefly.everything')) || $label === strval(trans('firefly.customRange'))) {
$isCustomRange = true;
Preferences::set('viewRange', 'custom');
//Preferences::set('viewRange', 'custom');
Log::debug('Range is now marked as "custom".');
}