1
0
Fork 0
mirror of https://gitlab.com/bramw/baserow.git synced 2025-04-15 09:34:13 +00:00

AI field cell select row modal loading state bug fix

This commit is contained in:
Bram Wiepjes 2024-11-07 20:37:52 +01:00
parent 4cb5777a46
commit d87777428e
2 changed files with 6 additions and 4 deletions
premium/web-frontend/modules/baserow_premium/mixins
web-frontend/modules/database/components/view/grid/fields

View file

@ -28,6 +28,12 @@ export default {
},
methods: {
isGenerating(parent, props) {
// If no storePrefix is provided, then the cell is rendered outside of the
// grid view where it can't have a generating state.
if (!props.storePrefix) {
return false
}
return parent.$store.getters[
props.storePrefix + 'view/grid/hasPendingFieldOps'
](props.field.id, parent.row.id)

View file

@ -39,10 +39,6 @@ export default {
type: Boolean,
required: true,
},
storePrefix: {
type: String,
required: true,
},
},
computed: {
subType() {