Skip to content

Commit

Permalink
fix not adding timestamps to already signed files
Browse files Browse the repository at this point in the history
  • Loading branch information
celuchmarek committed Nov 27, 2024
1 parent d1ca917 commit 878fc75
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/models/document.rb
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ def visualization

def set_add_timestamp
parameters['level'] = parameters['level'].gsub(/BASELINE_B/, 'BASELINE_T') if parameters['level']
parameters['level'] = 'T' unless parameters['level']
parameters['level'] = 'T' unless parameters['level'] && parameters['level'] != 'B'
save!
end

Expand Down

0 comments on commit 878fc75

Please sign in to comment.