Browse Source

fix(nc-gui): change v-t to v-e

pull/3818/head
Wing-Kam Wong 2 years ago
parent
commit
66b1af89c3
  1. 2
      packages/nc-gui/components/smartsheet-toolbar/KanbanStackEditOrAdd.vue
  2. 2
      packages/nc-gui/components/smartsheet-toolbar/StackedBy.vue

2
packages/nc-gui/components/smartsheet-toolbar/KanbanStackEditOrAdd.vue

@ -36,7 +36,7 @@ provide(IsKanbanInj, ref(true))
<template> <template>
<a-dropdown v-if="isUIAllowed('edit-column')" v-model:visible="addOrEditStackDropdown" :trigger="['click']"> <a-dropdown v-if="isUIAllowed('edit-column')" v-model:visible="addOrEditStackDropdown" :trigger="['click']">
<div class="nc-kanban-btn"> <div class="nc-kanban-btn">
<a-button v-t="['c:kanban-stack-edit-or-add']" class="nc-fields-menu-btn nc-toolbar-btn" :disabled="isLocked"> <a-button v-e="['c:kanban-stack-edit-or-add']" class="nc-fields-menu-btn nc-toolbar-btn" :disabled="isLocked">
<div class="flex items-center gap-1"> <div class="flex items-center gap-1">
<mdi-plus-circle-outline /> <mdi-plus-circle-outline />
<span class="text-capitalize !text-sm font-weight-normal"> <span class="text-capitalize !text-sm font-weight-normal">

2
packages/nc-gui/components/smartsheet-toolbar/StackedBy.vue

@ -102,7 +102,7 @@ const handleChange = () => {
<template> <template>
<a-dropdown v-model:visible="stackedByDropdown" :trigger="['click']"> <a-dropdown v-model:visible="stackedByDropdown" :trigger="['click']">
<div class="nc-kanban-btn"> <div class="nc-kanban-btn">
<a-button v-t="['c:stacked-by']" class="nc-fields-menu-btn nc-toolbar-btn" :disabled="isLocked"> <a-button v-e="['c:stacked-by']" class="nc-fields-menu-btn nc-toolbar-btn" :disabled="isLocked">
<div class="flex items-center gap-1"> <div class="flex items-center gap-1">
<mdi-arrow-down-drop-circle-outline /> <mdi-arrow-down-drop-circle-outline />
<!-- TODO: i18n --> <!-- TODO: i18n -->

Loading…
Cancel
Save