Browse Source

fix(nc-gui): Added info msg for lookup option

pull/6605/head
Muhammed Mustafa 1 year ago
parent
commit
35d00e6d99
  1. 3
      packages/nc-gui/components/smartsheet/column/LookupOptions.vue
  2. 3
      packages/nc-gui/lang/en.json

3
packages/nc-gui/components/smartsheet/column/LookupOptions.vue

@ -86,7 +86,7 @@ const cellIcon = (column: ColumnType) =>
<template> <template>
<div class="p-6 w-full flex flex-col border-2 mb-2 mt-4"> <div class="p-6 w-full flex flex-col border-2 mb-2 mt-4">
<div class="w-full flex flex-row space-x-2"> <div v-if="refTables.length" class="w-full flex flex-row space-x-2">
<a-form-item class="flex w-1/2 pb-2" :label="$t('labels.links')" v-bind="validateInfos.fk_relation_column_id"> <a-form-item class="flex w-1/2 pb-2" :label="$t('labels.links')" v-bind="validateInfos.fk_relation_column_id">
<a-select <a-select
v-model:value="vModel.fk_relation_column_id" v-model:value="vModel.fk_relation_column_id"
@ -121,6 +121,7 @@ const cellIcon = (column: ColumnType) =>
</a-select> </a-select>
</a-form-item> </a-form-item>
</div> </div>
<div v-else>{{ $t('msg.linkColumnClearNotSupportedYet') }}</div>
</div> </div>
</template> </template>

3
packages/nc-gui/lang/en.json

@ -870,8 +870,9 @@
"newFormWillBeLoaded": "New form will be loaded after {seconds} seconds", "newFormWillBeLoaded": "New form will be loaded after {seconds} seconds",
"optimizedQueryDisabled": "Optimized query is disabled", "optimizedQueryDisabled": "Optimized query is disabled",
"optimizedQueryEnabled": "Optimized query is enabled", "optimizedQueryEnabled": "Optimized query is enabled",
"lookupNonBtWarning": "Lookup column is not supported for non-Belongs to relation",
"invalidTime": "Invalid Time", "invalidTime": "Invalid Time",
"linkColumnClearNotSupportedYet": "Link column clear is not supported yet", "linkColumnClearNotSupportedYet": "You don't have any supported links for Lookup",
"recordCouldNotBeFound": "Record could not be found", "recordCouldNotBeFound": "Record could not be found",
"invalidPhoneNumber": "Invalid phone number", "invalidPhoneNumber": "Invalid phone number",
"pageSizeChanged": "Page size changed", "pageSizeChanged": "Page size changed",

Loading…
Cancel
Save