Skip to content

Commit

Permalink
Merge pull request #5382 from nextcloud/fix/categories/system-tags-on…
Browse files Browse the repository at this point in the history
…-public-view

fix(categories): fall back to empty array
  • Loading branch information
st3iny authored Jul 28, 2023
2 parents 1a377e5 + 32fa3fa commit 9ac83f1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/mixins/EditorMixin.js
Original file line number Diff line number Diff line change
Expand Up @@ -317,7 +317,7 @@ export default {
},
categoryOptions() {
const categories = { ...this.rfcProps.categories }
categories.options = loadState('calendar', 'categories')
categories.options = loadState('calendar', 'categories', [])
return categories
},
/**
Expand Down

0 comments on commit 9ac83f1

Please sign in to comment.