Skip to content
This repository was archived by the owner on Jul 14, 2026. It is now read-only.

Commit 4b0340d

Browse files
author
Vincent Petry
committed
Add missing mixin for formDateFromNow in public link item
After refactoring the file list item into PublicLinkListItem, the method formDateFromNow was not accessible any more as it was present in the mixin from the original component. This fix adds the mixing to PublicLinkListItem to make that function work again and fixes the issue where links that have an expiration date set would not be shown.
1 parent a0342fb commit 4b0340d

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

apps/files/src/components/PublicLinksSidebar/PublicLinkListItem.vue

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,7 @@
4848

4949
<script>
5050
import { basename, dirname } from 'path'
51+
import mixins from '../../mixins'
5152
5253
export default {
5354
name: 'PublicLinkListItem',
@@ -69,6 +70,7 @@ export default {
6970
default: () => {}
7071
}
7172
},
73+
mixins: [mixins],
7274
computed: {
7375
$_viaLabel () {
7476
if (!this.indirect) {

0 commit comments

Comments
 (0)