Skip to content

πŸ”₯ πŸ”₯ πŸ”₯ A Free & Self-hostable Airtable Alternative

fix: disable modifying pk

mertmit47d1bdc39492
diff --git a/packages/nc-gui/components/dashboard/settings/sync/DestinationSchema.vue b/packages/nc-gui/components/dashboard/settings/sync/DestinationSchema.vue
index 0664f99b13..0663f7ed8a 100644
--- a/packages/nc-gui/components/dashboard/settings/sync/DestinationSchema.vue
+++ b/packages/nc-gui/components/dashboard/settings/sync/DestinationSchema.vue
@@ -409,6 +409,7 @@ onMounted(async () => {
</td>
<td class="center-column">
<a-checkbox
+ :disabled="editMode"
:checked="isPrimaryKeyColumn(column.title)"
@update:checked="(checked) => togglePrimaryKey(column.title, checked)"
/>