Improve export processing condition on index view

This commit is contained in:
Andreas Nedbal 2022-07-02 14:43:53 +02:00
parent c5a2d25f9d
commit b17df72b61
1 changed files with 1 additions and 3 deletions

View File

@ -4,9 +4,7 @@ class Settings::ExportController < ApplicationController
before_action :authenticate_user!
def index
if current_user.export_processing
flash[:info] = t(".info")
end
flash[:info] = t(".info") if current_user.export_processing
end
def create