Improve sidebar template
This commit is contained in:
@ -15,7 +15,6 @@ type BudgetData struct {
|
||||
}
|
||||
|
||||
func (h *Handler) budget(c *gin.Context) {
|
||||
base := c.MustGet("data").(AlwaysNeededData)
|
||||
budgetID := c.Param("budgetid")
|
||||
budgetUUID, err := uuid.Parse(budgetID)
|
||||
if err != nil {
|
||||
@ -30,7 +29,7 @@ func (h *Handler) budget(c *gin.Context) {
|
||||
}
|
||||
|
||||
d := BudgetData{
|
||||
base,
|
||||
c.MustGet("data").(AlwaysNeededData),
|
||||
transactions,
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user