mirror of
https://github.com/gristlabs/grist-core.git
synced 2026-03-02 04:09:24 +00:00
(core) Make Attachments columns get treated like RefLists more
Summary: Treat the column type 'Attachments' as equivalent to 'RefList:_grist_Attachments' in a few places, because that's essentially what it is. The main goal was to fix parsing strings representing attachments (reflists). Also removed an unused function. Test Plan: Tested manually that pasting a CSV/JSON string representation of an attachments reflists works now. Reviewers: paulfitz Reviewed By: paulfitz Subscribers: paulfitz Differential Revision: https://phab.getgrist.com/D3338
This commit is contained in:
@@ -220,6 +220,7 @@ export const valueParserClasses: { [type: string]: typeof ValueParser } = {
|
||||
ChoiceList: ChoiceListParser,
|
||||
Ref: ReferenceParser,
|
||||
RefList: ReferenceListParser,
|
||||
Attachments: ReferenceListParser,
|
||||
};
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user