mirror of
https://gitlab.com/bramw/baserow.git
synced 2025-05-15 05:30:24 +00:00
Resolve "Higher than and lower than frontend filters are not working with formulas"
This commit is contained in:
parent
59192c94f3
commit
709e895494
9 changed files with 174 additions and 55 deletions
web-frontend/modules/database/components/row
|
@ -144,8 +144,6 @@ export default {
|
|||
this.$registry
|
||||
)
|
||||
|
||||
console.log(newRowValues)
|
||||
|
||||
this.$store.dispatch('rowModal/updated', {
|
||||
tableId: this.tableId,
|
||||
values: newRowValues,
|
||||
|
|
|
@ -36,7 +36,11 @@ export default {
|
|||
methods: {
|
||||
formattedDuration(value) {
|
||||
const metadata = this.entry.fields_metadata[this.fieldIdentifier]
|
||||
return DurationFieldType.formatValue(metadata, value)
|
||||
const durationFieldType = this.$registry.get(
|
||||
'field',
|
||||
DurationFieldType.getType()
|
||||
)
|
||||
return durationFieldType.formatValue(metadata, value)
|
||||
},
|
||||
},
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue