]> source.dussan.org Git - nextcloud-server.git/commit
Fix has expiration date logic
authorfenn-cs <fenn25.fn@gmail.com>
Mon, 16 Oct 2023 16:35:35 +0000 (17:35 +0100)
committerfenn-cs <fenn25.fn@gmail.com>
Sun, 22 Oct 2023 14:47:45 +0000 (15:47 +0100)
commit46308e96f36486dd9dd55a41c1979d7f6cafacfe
tree07012b6c000465769d7a34cb188f11c9be0fc838
parent92417cd59460f11da54aeabd4ebd8ffd5aa8f69b
Fix has expiration date logic

Current expiration date errorneously assumes that `defaultExpirationDate`
applies to all kinds of shares. But it only really applies to public shares despite
its name.

This commit, fixes that by paring expiration dates with the correct share types during
new share initialization and simplifying the `hasExpirationDate` (check) property.

Signed-off-by: fenn-cs <fenn25.fn@gmail.com>
apps/files_sharing/src/views/SharingDetailsTab.vue
dist/4511-4511.js [new file with mode: 0644]
dist/4511-4511.js.LICENSE.txt [new file with mode: 0644]
dist/4511-4511.js.map [new file with mode: 0644]
dist/6264-6264.js [deleted file]
dist/6264-6264.js.LICENSE.txt [deleted file]
dist/6264-6264.js.map [deleted file]
dist/files_sharing-files_sharing_tab.js
dist/files_sharing-files_sharing_tab.js.map