diff options
author | F. E Noel Nfebe <fenn25.fn@gmail.com> | 2024-02-20 12:49:20 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-02-20 12:49:20 +0100 |
commit | d77510cbfb989bb49bbffe52016832024583c9ea (patch) | |
tree | cc8bd2b420c6d3b4ae539d4fac878df9f7b0cb80 /apps | |
parent | 75e8b7169d730fa087fdfe5ab3fda08559309f94 (diff) | |
parent | 339c9d31743e4b37c59bcaf8098c86eb11a4a781 (diff) | |
download | nextcloud-server-d77510cbfb989bb49bbffe52016832024583c9ea.tar.gz nextcloud-server-d77510cbfb989bb49bbffe52016832024583c9ea.zip |
Merge pull request #43661 from nextcloud/43256-fix-update-share-expiration-date
Fix undefined share object during expirationDate update
Diffstat (limited to 'apps')
-rw-r--r-- | apps/files_sharing/src/mixins/SharesMixin.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/files_sharing/src/mixins/SharesMixin.js b/apps/files_sharing/src/mixins/SharesMixin.js index b76b72cebe9..5f973bf63cf 100644 --- a/apps/files_sharing/src/mixins/SharesMixin.js +++ b/apps/files_sharing/src/mixins/SharesMixin.js @@ -221,7 +221,7 @@ export default { * * @param {Date} date */ - onExpirationChange: debounce((date) => { + onExpirationChange: debounce(function(date) { this.share.expireDate = this.formatDateToString(new Date(date)) }, 500), /** |