Merge pull request #1039 from Retrospring/bugfix/eagerly-load-services

This commit is contained in:
Karina Kwiatek 2023-02-02 12:00:41 +01:00 committed by GitHub
commit 1df6bcfd52
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -18,7 +18,7 @@ class InboxController < ApplicationController
@delete_id = find_delete_id
@disabled = true if @inbox.empty?
services = current_user.services
services = current_user.services.to_a
respond_to do |format|
format.html { render "show", locals: { services: } }