Fir for incorrect total apps count

This commit is contained in:
navaneeth 2021-05-20 15:27:45 +05:30
parent 298fd8b098
commit fb1494a561

View file

@ -21,7 +21,7 @@ class AppsController < ApplicationController
@meta = {
total_pages: @apps.total_pages,
folder_count: @scope.count,
total_count: App.count,
total_count: App.where(organization: @current_user.organization).count,
current_page: @apps.current_page
}
end