-
Notifications
You must be signed in to change notification settings - Fork 26
Labels
Description
Bug Description
accountCalendar.vue uses type="router-link" with external href, causing a Vue Router error.
Source: accountCalendar.vue#L17-L25
<oc-button
type="router-link"
href="proxy.php?url=https%3A%2F%2Fdocs.%3Cspan+class%3D"pl-e">opencloud.eu/..."
>OcButton with type="router-link" renders as <router-link>, which expects to prop, not href.
Sources:
- OcButton.vue#L2-3
- OcButton docs:
type: 'button' | 'a' | 'router-link'
Reproduction Steps
- Disable Radicale (default)
- Navigate to
/account/calendar - Open browser console
Expected Outcome
Link "here" renders and opens documentation.
Actual Outcome
- Console:
TypeError: undefined is not an object (evaluating 'i.path')invue-router - HTML shows
<!---->where button should be - Text ends with "...click" without link
Fix
<oc-button
type="a"
href="proxy.php?url=https%3A%2F%2Fdocs.%3Cspan+class%3D"pl-e">opencloud.eu/..."
target="_blank"
>Version: 4.1.0 rolling
Reactions are currently unavailable