Skip to content
Merged
Changes from all commits
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
10 changes: 9 additions & 1 deletion src/views/ContentReferenceWidget.vue
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@

<!--
- SPDX-FileCopyrightText: 2023 Nextcloud GmbH and Nextcloud contributors
- SPDX-License-Identifier: AGPL-3.0-or-later
Expand All @@ -23,6 +22,7 @@
:columns="columns"
:element-id="richObject.id"
:is-view="isView"
v-model:view-setting="localViewSetting"
v-bind="tablePermissions"
@edit-row="editRow"
@copy-row="copyRow"
Expand Down Expand Up @@ -87,6 +87,7 @@ export default {
return {
searchExp: null,
localRows: [], // Keep as fallback only
localViewSetting: {},
showCopyRow: false,
copyPrefillData: null,
rowToDelete: null,
Expand Down Expand Up @@ -154,6 +155,13 @@ export default {
},

watch: {
// TEMP DEBUG -- remove before merging
localViewSetting: {
deep: true,
handler(newVal) {
console.log('[widget] localViewSetting changed:', JSON.parse(JSON.stringify(newVal)))
},
},
richObject: {
deep: true,
handler(newVal) {
Expand Down
Loading