mirror of
https://github.com/scinote-eln/scinote-web.git
synced 2025-11-10 16:31:22 +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',
|
partial: 'projects/export/modal.html.erb',
|
||||||
locals: { num_projects: @exp_projects.size,
|
locals: { num_projects: @exp_projects.size,
|
||||||
limit: TeamZipExport.exports_limit,
|
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')
|
title: t('projects.export_projects.modal_title')
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue