mirror of
https://github.com/nocodb/nocodb.git
synced 2026-05-03 01:06:51 +00:00
@@ -20,11 +20,11 @@ const metaWrite = useVModel(props, 'allowMetaWrite', emits)
|
||||
</template>
|
||||
<a-switch v-model:checked="dataWrite" :disabled="metaWrite" data-testid="nc-allow-data-write" size="small"></a-switch>
|
||||
</NcTooltip>
|
||||
<span class="cursor-pointer" @click="!metaWrite ? (dataWrite = !dataWrite) : undefined">
|
||||
<span class="cursor-pointer text-nc-content-gray" @click="!metaWrite ? (dataWrite = !dataWrite) : undefined">
|
||||
{{ $t('labels.allowDataWrite') }}
|
||||
</span>
|
||||
</div>
|
||||
<div class="ml-10 text-small leading-[18px] text-gray-500">
|
||||
<div class="ml-10 text-small leading-[18px] text-nc-content-gray-muted">
|
||||
{{ $t('tooltip.allowDataWrite') }}
|
||||
</div>
|
||||
</div>
|
||||
@@ -39,11 +39,11 @@ const metaWrite = useVModel(props, 'allowMetaWrite', emits)
|
||||
size="small"
|
||||
></a-switch>
|
||||
|
||||
<span class="cursor-pointer" @click="metaWrite = !metaWrite">
|
||||
<span class="cursor-pointer text-nc-content-gray" @click="metaWrite = !metaWrite">
|
||||
{{ $t('labels.allowMetaWrite') }}
|
||||
</span>
|
||||
</div>
|
||||
<div class="ml-10 text-small leading-[18px] text-gray-500" :class="{ 'nc-allow-meta-write-help': metaWrite }">
|
||||
<div class="ml-10 text-small leading-[18px] text-nc-content-gray-muted" :class="{ 'nc-allow-meta-write-help': metaWrite }">
|
||||
{{ $t('labels.notRecommended') }}:
|
||||
{{ $t('tooltip.allowMetaWrite') }}
|
||||
</div>
|
||||
@@ -61,6 +61,6 @@ const metaWrite = useVModel(props, 'allowMetaWrite', emits)
|
||||
}
|
||||
|
||||
.nc-source-restictions-card {
|
||||
@apply border-1 border-gray-200 rounded-lg px-3 py-2;
|
||||
@apply border-1 border-nc-border-gray-medium rounded-lg px-3 py-2;
|
||||
}
|
||||
</style>
|
||||
|
||||
Reference in New Issue
Block a user