2
0
Эх сурвалжийг харах

fix: no data translation is broken (#849)

Signed-off-by: ryjiang <jiangruiyi@gmail.com>
ryjiang 1 долоо хоног өмнө
parent
commit
c55c7aa6dc

+ 1 - 1
client/src/components/grid/Grid.tsx

@@ -116,7 +116,7 @@ const AttuGrid: FC<AttuGridType> = props => {
     title,
     openCheckBox = true,
     disableSelect = false,
-    noData = commonTrans('grid.gridTrans.noData'),
+    noData = commonTrans('grid.noData'),
     showHoverStyle = true,
     headEditable = false,
     editHeads = [],

+ 0 - 2
client/src/i18n/en/common.ts

@@ -1,5 +1,3 @@
-import { version } from "process";
-
 const commonTrans = {
   attu: {
     admin: 'Attu',