mirror of
https://gitlab.com/bramw/baserow.git
synced 2025-05-14 13:12:20 +00:00
Resolve "Allow overwriting generative AI settings on workspace level"
This commit is contained in:
parent
0cf6af3a61
commit
eb13b10dd3
85 changed files with 1400 additions and 252 deletions
web-frontend/modules/database/components/view/grid/fields
|
@ -75,9 +75,6 @@ export default {
|
|||
name: 'GridViewFieldLinkRow',
|
||||
components: { ForeignRowEditModal, SelectRowModal },
|
||||
mixins: [gridField, linkRowField],
|
||||
inject: {
|
||||
workspace: { default: null },
|
||||
},
|
||||
data() {
|
||||
return {
|
||||
modalOpen: false,
|
||||
|
@ -85,6 +82,10 @@ export default {
|
|||
}
|
||||
},
|
||||
computed: {
|
||||
// Return the reactive object that can be updated in runtime.
|
||||
workspace() {
|
||||
return this.$store.getters['workspace/get'](this.workspaceId)
|
||||
},
|
||||
canAccessLinkedTable() {
|
||||
const linkedTable = this.allTables.find(
|
||||
({ id }) => id === this.field.link_row_table_id
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue