Skip to content

Commit

Permalink
Make open sharing sidebar links working
Browse files Browse the repository at this point in the history
  • Loading branch information
lookacat committed Mar 21, 2022
1 parent 5084ab1 commit efb27b2
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -487,7 +487,7 @@ export default {
methods: {
...mapActions('Files/sidebar', ['openWithPanel']),
openSharingSidebar(file) {
if (file.shareTypes?.includes(ShareTypes.link.value)) {
if (file.share?.shareType == ShareTypes.link.value) {
this.openWithPanel('links-item')
return
}
Expand Down

0 comments on commit efb27b2

Please sign in to comment.