We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d8b9a23 commit 041ce63Copy full SHA for 041ce63
1 file changed
apps/files_sharing/src/components/SharingEntryLink.vue
@@ -591,8 +591,10 @@ export default {
591
},
592
593
mounted() {
594
- this.defaultExpirationDateEnabled = this.config.defaultExpirationDate instanceof Date
595
- this.share.expireDate = this.defaultExpirationDateEnabled ? this.formatDateToString(this.config.defaultExpirationDate) : ''
+ if (this.share) {
+ this.defaultExpirationDateEnabled = this.config.defaultExpirationDate instanceof Date
596
+ this.share.expireDate = this.defaultExpirationDateEnabled ? this.formatDateToString(this.config.defaultExpirationDate) : ''
597
+ }
598
599
600
methods: {
0 commit comments