mirror of
https://github.com/gristlabs/grist-core.git
synced 2024-10-27 20:44:07 +00:00
(core) Don't treat Attachments as RefList in creator panel
Summary: Fixing bug introduced in https://phab.getgrist.com/D3338: column config now shows "DATA FROM TABLE" under the Attachments column type as if it were a normal ref/reflist column. Test Plan: manual Reviewers: paulfitz Reviewed By: paulfitz Differential Revision: https://phab.getgrist.com/D3350
This commit is contained in:
parent
d55bdbcdf3
commit
8fdfb02646
@ -121,7 +121,8 @@ export class FieldBuilder extends Disposable {
|
||||
|
||||
// Returns a boolean indicating whether the column is type Reference or ReferenceList.
|
||||
this._isRef = this.autoDispose(ko.computed(() => {
|
||||
return isFullReferencingType(this.field.column().type());
|
||||
const type = this.field.column().type();
|
||||
return type !== "Attachments" && isFullReferencingType(type);
|
||||
}));
|
||||
|
||||
// Gives the table ID to which the reference points.
|
||||
|
Loading…
Reference in New Issue
Block a user