mirror of
https://gitlab.com/bramw/baserow.git
synced 2025-05-03 00:20:02 +00:00
2️⃣ Support for duration in formula: add backend/frontend support
This commit is contained in:
parent
21b66a7aaa
commit
83cbe6ced2
30 changed files with 509 additions and 51 deletions
web-frontend/modules/database
|
@ -217,7 +217,8 @@ import {
|
|||
BaserowFormulaButtonType,
|
||||
BaserowFormulaCharType,
|
||||
BaserowFormulaLinkType,
|
||||
BaserowFormulaDateIntervalType,
|
||||
BaserowFormulaDateIntervalType, // Deprecated
|
||||
BaserowFormulaDurationType,
|
||||
BaserowFormulaDateType,
|
||||
BaserowFormulaInvalidType,
|
||||
BaserowFormulaNumberType,
|
||||
|
@ -613,6 +614,10 @@ export default (context) => {
|
|||
'formula_type',
|
||||
new BaserowFormulaDateIntervalType(context)
|
||||
)
|
||||
app.$registry.register(
|
||||
'formula_type',
|
||||
new BaserowFormulaDurationType(context)
|
||||
)
|
||||
app.$registry.register('formula_type', new BaserowFormulaNumberType(context))
|
||||
app.$registry.register('formula_type', new BaserowFormulaArrayType(context))
|
||||
app.$registry.register('formula_type', new BaserowFormulaSpecialType(context))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue