mirror of
https://github.com/scinote-eln/scinote-web.git
synced 2025-03-04 19:53:19 +08:00
Exports left after export fix
This commit is contained in:
parent
22af36dd2d
commit
4f8faba84e
1 changed files with 1 additions and 1 deletions
|
@ -257,7 +257,7 @@ class TeamsController < ApplicationController
|
|||
partial: 'projects/export/modal.html.erb',
|
||||
locals: { num_projects: @exp_projects.size,
|
||||
limit: TeamZipExport.exports_limit,
|
||||
num_of_requests_left: current_user.exports_left }
|
||||
num_of_requests_left: current_user.exports_left - 1 }
|
||||
),
|
||||
title: t('projects.export_projects.modal_title')
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue