Disabling the single attachment column toggle for now - until we add the new type.
This commit is contained in:
parent
cc02d759d5
commit
db19f2040f
|
@ -710,21 +710,6 @@
|
||||||
thin
|
thin
|
||||||
text="Allow multiple users"
|
text="Allow multiple users"
|
||||||
/>
|
/>
|
||||||
{:else if editableColumn.type === FieldType.ATTACHMENT}
|
|
||||||
<Toggle
|
|
||||||
value={editableColumn.subtype !== FieldTypeSubtypes.ATTACHMENT.SINGLE &&
|
|
||||||
// Checking config before the subtype was added
|
|
||||||
editableColumn.constraints?.length?.maximum !== 1}
|
|
||||||
on:change={e => {
|
|
||||||
if (!e.detail) {
|
|
||||||
editableColumn.subtype = FieldTypeSubtypes.ATTACHMENT.SINGLE
|
|
||||||
} else {
|
|
||||||
delete editableColumn.subtype
|
|
||||||
}
|
|
||||||
}}
|
|
||||||
thin
|
|
||||||
text="Allow multiple"
|
|
||||||
/>
|
|
||||||
{/if}
|
{/if}
|
||||||
{#if editableColumn.type === AUTO_TYPE || editableColumn.autocolumn}
|
{#if editableColumn.type === AUTO_TYPE || editableColumn.autocolumn}
|
||||||
<Select
|
<Select
|
||||||
|
|
Loading…
Reference in New Issue