Repository navigation
Don't break if Share role is not defined in frontend - #9339
Conversation
|
Thanks for opening this pull request! The maintainers of this repository would appreciate it if you would create a changelog item based on your changes. |
|
Results for e2e-tests oCIS-2 https://drone.owncloud.com/owncloud/web/37006/13/1 |
lookacat
left a comment
There was a problem hiding this comment.
One small nitpick, but otherwise good 👍🏼
| if (this.currentLinkRole.longLabel !== '') { | ||
| if (this.currentLinkRole?.longLabel !== '') { | ||
| return this.$gettext(this.currentLinkRole.longLabel) | ||
| } else { |
There was a problem hiding this comment.
no else needed, but nitpick otherwise fine :)
There was a problem hiding this comment.
True, I don't touch code usually while fixing but the else triggers me as well, lol
|
Kudos, SonarCloud Quality Gate passed!
|








Description
If the share role is not defined in frontend but is technically possible like with permissions 3, we show 'Select a role' and fix that web breaks (exception)

Related Issue
Permission 3#7164Motivation and Context
How Has This Been Tested?
Screenshots (if appropriate):
Types of changes
Checklist:
Open tasks: