Browse Source

fix(gui): typos

pull/3381/head
Denis 2 years ago
parent
commit
4a9915f6a6
  1. 6
      packages/nc-gui/components/cell/Url.vue
  2. 2
      packages/nc-gui/components/virtual-cell/Lookup.vue

6
packages/nc-gui/components/cell/Url.vue

@ -77,14 +77,16 @@ watch(
class="z-3 text-sm underline hover:opacity-75" class="z-3 text-sm underline hover:opacity-75"
:to="url" :to="url"
:target="urlOptions?.behavior === 'replace' ? undefined : '_blank'" :target="urlOptions?.behavior === 'replace' ? undefined : '_blank'"
>{{ value }} >
{{ value }}
</nuxt-link> </nuxt-link>
<nuxt-link <nuxt-link
v-else-if="isValid && !disableOverlay && urlOptions?.overlay" v-else-if="isValid && !disableOverlay && urlOptions?.overlay"
class="z-3 w-full h-full text-center !no-underline hover:opacity-75" class="z-3 w-full h-full text-center !no-underline hover:opacity-75"
:to="url" :to="url"
:target="urlOptions?.behavior === 'replace' ? undefined : '_blank'" :target="urlOptions?.behavior === 'replace' ? undefined : '_blank'"
>{{ urlOptions.overlay }} >
{{ urlOptions.overlay }}
</nuxt-link> </nuxt-link>
<span v-else class="w-9/10 overflow-ellipsis overflow-hidden">{{ value }}</span> <span v-else class="w-9/10 overflow-ellipsis overflow-hidden">{{ value }}</span>

2
packages/nc-gui/components/virtual-cell/Lookup.vue

@ -32,7 +32,7 @@ const lookupColumn = computed<any>(
) )
provide(MetaInj, lookupTableMeta) provide(MetaInj, lookupTableMeta)
provide(CellUrlDisableOverlayInj, true) provide(CellUrlDisableOverlayInj, ref(true))
const lookupColumnMetaProps = useColumn(lookupColumn) const lookupColumnMetaProps = useColumn(lookupColumn)
</script> </script>

Loading…
Cancel
Save