Merge pull request #6001 from okriuchykhin/ok_SCI_9060

Allow export of archived inventories [SCI-9060]
This commit is contained in:
Alex Kriuchykhin 2023-08-17 12:48:03 +02:00 committed by GitHub
commit 0433d62c17
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -21,7 +21,7 @@ module Toolbars
return [] if @repositories.none?
if @archived_state
[restore_action, delete_action]
[export_action, restore_action, delete_action]
else
[rename_action, duplicate_action, export_action, archive_action, share_action]
end.compact