mirror of
https://github.com/scinote-eln/scinote-web.git
synced 2025-01-30 19:48:18 +08:00
Merge pull request #1677 from urbanrotnik/ur-sci-3345-export-all-counter-fix-2
Exports left after export [SCI-3345]
This commit is contained in:
commit
782d1dfc2d
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