This commit is contained in:
mike12345567 2021-02-17 17:34:15 +00:00
parent 99c509cc64
commit bc935b9027
1 changed files with 4 additions and 2 deletions

View File

@ -45,7 +45,7 @@
$: uneditable =
$backendUiStore.selectedTable?._id === TableNames.USERS &&
UNEDITABLE_USER_FIELDS.includes(field.name)
$: invalid = (field.type === FIELDS.LINK.type && !field.tableId)
$: invalid = field.type === FIELDS.LINK.type && !field.tableId
// used to select what different options can be displayed for column type
$: canBeSearched =
@ -235,7 +235,9 @@
<TextButton text on:click={confirmDelete}>Delete Column</TextButton>
{/if}
<Button secondary on:click={onClosed}>Cancel</Button>
<Button primary on:click={saveColumn} bind:disabled={invalid}>Save Column</Button>
<Button primary on:click={saveColumn} bind:disabled={invalid}>
Save Column
</Button>
</footer>
</div>
<ConfirmDialog