Skip to content
Snippets Groups Projects
Unverified Commit a263ce5b authored by Bekerle, Patrizio's avatar Bekerle, Patrizio :fire:
Browse files

Move this.showTestNextcloudFilePicker to parent web component (#28)

parent 624b451c
No related branches found
No related tags found
No related merge requests found
......@@ -867,7 +867,6 @@ class QualifiedSignaturePdfUpload extends ScopedElementsMixin(VPUSignatureLitEle
render() {
const placeholderUrl = commonUtils.getAssetURL('local/vpu-signature/qualified-signature-placeholder.png');
const showTestNextcloudFilePicker = buildinfo.env === 'local';
return html`
<div class="${classMap({hidden: !this.isLoggedIn() || !this.hasSignaturePermissions() || this.isLoading()})}">
......@@ -876,7 +875,7 @@ class QualifiedSignaturePdfUpload extends ScopedElementsMixin(VPUSignatureLitEle
<div class="control">
<vpu-file-source
allowed-mime-types="application/pdf"
nextcloud-auth-url="${showTestNextcloudFilePicker ? nextcloudWebAppPasswordURL : ""}"
nextcloud-auth-url="${this.showTestNextcloudFilePicker ? nextcloudWebAppPasswordURL : ""}"
nextcloud-web-dav-url="${nextcloudWebDavURL}"
decompress-zip
lang="${this.lang}"
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment