Browse Source

fic(nc-gui): add tooltip on disabled get prefilled link btn

pull/7786/head
Ramesh Mane 10 months ago
parent
commit
865b7cebea
  1. 4
      packages/nc-gui/components/smartsheet/Form.vue
  2. 3
      packages/nc-gui/lang/en.json

4
packages/nc-gui/components/smartsheet/Form.vue

@ -1332,7 +1332,10 @@ useEventListener(
{{ $t('activity.clearForm') }} {{ $t('activity.clearForm') }}
</NcButton> </NcButton>
<div class="flex items-center gap-3"> <div class="flex items-center gap-3">
<NcTooltip :disabled="!!view?.uuid">
<template #title>{{$t('tooltip.formIsNotShared')}}</template>
<NcButton <NcButton
v-if="isUIAllowed('dataInsert') && visibleColumns.length"
type="primary" type="primary"
size="small" size="small"
:disabled="!isUIAllowed('dataInsert') || !visibleColumns.length || isLocked || !view?.uuid" :disabled="!isUIAllowed('dataInsert') || !visibleColumns.length || isLocked || !view?.uuid"
@ -1343,6 +1346,7 @@ useEventListener(
> >
{{ $t('activity.getPreFilledLink') }} {{ $t('activity.getPreFilledLink') }}
</NcButton> </NcButton>
</NcTooltip>
<NcButton <NcButton
html-type="submit" html-type="submit"
type="primary" type="primary"

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

@ -965,7 +965,8 @@
"clearMetadata": "Clear all metadata from meta tables.", "clearMetadata": "Clear all metadata from meta tables.",
"clientKey": "Select .key file", "clientKey": "Select .key file",
"clientCert": "Select .cert file", "clientCert": "Select .cert file",
"clientCA": "Select CA file" "clientCA": "Select CA file",
"formIsNotShared": "Form is not shared"
}, },
"placeholder": { "placeholder": {
"selectSlackChannels": "Select Slack channels", "selectSlackChannels": "Select Slack channels",

Loading…
Cancel
Save