style(attachment): delete button replaces bullet when user can download + destroy

This commit is contained in:
Colin Darie 2022-12-06 11:42:12 +01:00
parent 5b20713893
commit 182bfcd3e3
No known key found for this signature in database
GPG key ID: 4FB865FDBCA4BCC4
3 changed files with 9 additions and 1 deletions

View file

@ -10,6 +10,7 @@ class Attachment::MultipleComponent < ApplicationComponent
attr_reader :form_object_name
attr_reader :max
attr_reader :user_can_destroy
alias user_can_destroy? user_can_destroy
attr_reader :user_can_download
alias user_can_download? user_can_download