Skip to content

Commit d77510c

Browse files
authored
Merge pull request #43661 from nextcloud/43256-fix-update-share-expiration-date
Fix undefined share object during expirationDate update
2 parents 75e8b71 + 339c9d3 commit d77510c

5 files changed

Lines changed: 7 additions & 7 deletions

File tree

apps/files_sharing/src/mixins/SharesMixin.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -221,7 +221,7 @@ export default {
221221
*
222222
* @param {Date} date
223223
*/
224-
onExpirationChange: debounce((date) => {
224+
onExpirationChange: debounce(function(date) {
225225
this.share.expireDate = this.formatDateToString(new Date(date))
226226
}, 500),
227227
/**

dist/7057-7057.js

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/7057-7057.js.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/files_sharing-files_sharing_tab.js

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/files_sharing-files_sharing_tab.js.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)