Skip to content

Commit 4a96c79

Browse files
authored
Fix default values link row field (baserow#5139)
1 parent 8559165 commit 4a96c79

3 files changed

Lines changed: 3 additions & 3 deletions

File tree

premium/web-frontend/modules/baserow_premium/components/row_comments/RowCommentsSidebar.vue

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -220,8 +220,6 @@ export default {
220220
const tableId = this.table.id
221221
const rowId = this.row.id
222222
const viewId = this.view?.id
223-
console.log(this.view)
224-
console.log(viewId)
225223
226224
// If the row is not an integer, it can mean that the row hasn't been created
227225
// in the backend yet. It's fine to not do anything then, because there are no

premium/web-frontend/modules/baserow_premium/services/row_comments/row_comments.js

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,6 @@ function buildViewIdParam(viewId) {
55
export default (client) => {
66
return {
77
fetchAll(tableId, rowId, { offset = 0, limit = 50, viewId = null }) {
8-
console.log(viewId)
98
return client.get(
109
`/row_comments/${tableId}/${rowId}/?offset=${offset}&limit=${limit}${buildViewIdParam(viewId)}`
1110
)

web-frontend/modules/database/components/view/DefaultValuesModal.vue

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -51,6 +51,9 @@
5151
:field="field"
5252
:value="rowValues[`field_${field.id}`]"
5353
:read-only="false"
54+
:workspace-id="database.workspace.id"
55+
:row="rowValues"
56+
:all-fields-in-table="allFields"
5457
@update="updateFieldValue(field, $event)"
5558
/>
5659
<div class="margin-top-1">

0 commit comments

Comments
 (0)