Skip to content
Closed
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Update apps/files_sharing/src/components/SharingEntry.vue
Co-authored-by: Pytal <[email protected]>
  • Loading branch information
TSI-yogeshshejwadkar and Pytal authored Sep 2, 2021
commit b6871706d5c5ea2084c955aef6a49ea498232ae6
2 changes: 1 addition & 1 deletion apps/files_sharing/src/components/SharingEntry.vue
Original file line number Diff line number Diff line change
Expand Up @@ -413,7 +413,7 @@ export default {
* @returns {boolean}
*/
fileHasCreatePermission() {
return !!(this.fileInfo.permissions & OC.PERMISSION_CREATE)
return Boolean(this.fileInfo.permissions & OC.PERMISSION_CREATE)
},

/**
Expand Down