1
0
Fork 0
mirror of https://github.com/maybe-finance/maybe.git synced 2025-08-02 20:15:22 +02:00

Allow optional import fields (#865)

This commit is contained in:
Zach Gollwitzer 2024-06-11 18:46:44 -04:00 committed by GitHub
parent 6477c0f766
commit 8372e26864
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
4 changed files with 15 additions and 5 deletions

View file

@ -148,15 +148,18 @@ class Import < ApplicationRecord
name_field = Import::Field.new \
key: "name",
label: "Name"
label: "Name",
is_optional: true
category_field = Import::Field.new \
key: "category",
label: "Category"
label: "Category",
is_optional: true
tags_field = Import::Field.new \
key: "tags",
label: "Tags"
label: "Tags",
is_optional: true
amount_field = Import::Field.new \
key: "amount",