Procházet zdrojové kódy

Merge pull request #44491 from nextcloud/backport/44291/stable27

[stable27] enh: Send empty expireDate when not expireDate set
tags/v27.1.9rc1
Eduardo Morales před 1 měsícem
rodič
revize
b7988cb20a
Žádný účet není propojen s e-mailovou adresou tvůrce revize

+ 2
- 4
apps/files_sharing/src/views/SharingDetailsTab.vue Zobrazit soubor

@@ -796,9 +796,7 @@ export default {
fileInfo: this.fileInfo,
}

if (this.hasExpirationDate) {
incomingShare.expireDate = this.share.expireDate
}
incomingShare.expireDate = this.hasExpirationDate ? this.share.expireDate : ''

if (this.isPasswordProtected) {
incomingShare.password = this.share.password
@@ -829,9 +827,9 @@ export default {
shareWith: share.shareWith,
permissions: share.permissions,
attributes: JSON.stringify(fileInfo.shareAttributes),
expireDate: share.expireDate,
...(share.note ? { note: share.note } : {}),
...(share.password ? { password: share.password } : {}),
...(share.expireDate ? { expireDate: share.expireDate } : {}),
})
return resultingShare
} catch (error) {

+ 2
- 2
dist/files_sharing-files_sharing_tab.js
Diff nebyl zobrazen, protože je příliš veliký
Zobrazit soubor


+ 1
- 1
dist/files_sharing-files_sharing_tab.js.map
Diff nebyl zobrazen, protože je příliš veliký
Zobrazit soubor


Načítá se…
Zrušit
Uložit