Appease the dog overlords

This commit is contained in:
Andreas Nedbal 2023-02-05 21:30:16 +01:00 committed by Andreas Nedbal
parent 2cb98fc2e0
commit b0f5294243
2 changed files with 2 additions and 2 deletions

View File

@ -49,7 +49,7 @@
%a.btn.btn-primary{ href: "#", data: { inbox_sharing_target: "tumblr" }, target: "_blank" }
%i.fab.fa-tumblr.fa-fw
Tumblr
- unless current_user.sharing_custom_url.blank?
- if current_user.sharing_custom_url.present?
%a.btn.btn-primary{ href: current_user.sharing_custom_url, data: { inbox_sharing_target: "custom" }, target: "_blank" }
= current_user.display_sharing_custom_url
%p.text-muted= t(".sharing.hint_html", settings: link_to(t(".sharing.settings"), settings_sharing_path))

View File

@ -91,7 +91,7 @@ describe UseCase::DataExport::User, :data_export do
privacy_noindex: false,
sharing_enabled: false,
sharing_autoclose: false,
sharing_custom_url: nil,
sharing_custom_url: nil
},
profile: {
display_name: "Fizzy Raccoon",