@@ -100,7 +100,7 @@ export const treeConfig: { [key in TreeNodeType]: ITreeConfigItem } = {
100100 extraParams : {
101101 databaseType : t . type ,
102102 dataSourceId : t . id ,
103- dataSourceName : t . name ,
103+ dataSourceName : t . alias ,
104104 } ,
105105 } ;
106106 } ) ;
@@ -324,9 +324,7 @@ export const treeConfig: { [key in TreeNodeType]: ITreeConfigItem } = {
324324
325325 [ TreeNodeType . FUNCTION ] : {
326326 icon : '\ue76a' ,
327- operationColumn : [
328- OperationColumn . CopyName
329- ] ,
327+ operationColumn : [ OperationColumn . CopyName ] ,
330328 } ,
331329
332330 [ TreeNodeType . PROCEDURES ] : {
@@ -363,9 +361,7 @@ export const treeConfig: { [key in TreeNodeType]: ITreeConfigItem } = {
363361
364362 [ TreeNodeType . PROCEDURE ] : {
365363 icon : '\ue73c' ,
366- operationColumn : [
367- OperationColumn . CopyName
368- ] ,
364+ operationColumn : [ OperationColumn . CopyName ] ,
369365 } ,
370366
371367 [ TreeNodeType . TRIGGERS ] : {
@@ -402,9 +398,7 @@ export const treeConfig: { [key in TreeNodeType]: ITreeConfigItem } = {
402398
403399 [ TreeNodeType . TRIGGER ] : {
404400 icon : '\ue64a' ,
405- operationColumn : [
406- OperationColumn . CopyName
407- ] ,
401+ operationColumn : [ OperationColumn . CopyName ] ,
408402 } ,
409403
410404 [ TreeNodeType . VIEW ] : {
@@ -422,9 +416,7 @@ export const treeConfig: { [key in TreeNodeType]: ITreeConfigItem } = {
422416 r ( list ) ;
423417 } ) ;
424418 } ,
425- operationColumn : [
426- OperationColumn . CopyName
427- ] ,
419+ operationColumn : [ OperationColumn . CopyName ] ,
428420 } ,
429421
430422 [ TreeNodeType . VIEWCOLUMNS ] : {
@@ -457,9 +449,7 @@ export const treeConfig: { [key in TreeNodeType]: ITreeConfigItem } = {
457449 } ,
458450 [ TreeNodeType . VIEWCOLUMN ] : {
459451 icon : '\ue647' ,
460- operationColumn : [
461- OperationColumn . CopyName
462- ] ,
452+ operationColumn : [ OperationColumn . CopyName ] ,
463453 } ,
464454
465455 [ TreeNodeType . COLUMNS ] : {
@@ -493,9 +483,7 @@ export const treeConfig: { [key in TreeNodeType]: ITreeConfigItem } = {
493483 } ,
494484 [ TreeNodeType . COLUMN ] : {
495485 icon : '\ue611' ,
496- operationColumn : [
497- OperationColumn . CopyName
498- ] ,
486+ operationColumn : [ OperationColumn . CopyName ] ,
499487 } ,
500488 [ TreeNodeType . KEYS ] : {
501489 icon : '\ueac5' ,
@@ -526,10 +514,7 @@ export const treeConfig: { [key in TreeNodeType]: ITreeConfigItem } = {
526514 } ,
527515 [ TreeNodeType . KEY ] : {
528516 icon : '\ue775' ,
529- operationColumn : [
530- OperationColumn . CopyName
531- ] ,
532-
517+ operationColumn : [ OperationColumn . CopyName ] ,
533518 } ,
534519 [ TreeNodeType . INDEXES ] : {
535520 icon : '\ueac5' ,
@@ -560,8 +545,6 @@ export const treeConfig: { [key in TreeNodeType]: ITreeConfigItem } = {
560545 } ,
561546 [ TreeNodeType . INDEX ] : {
562547 icon : '\ue65b' ,
563- operationColumn : [
564- OperationColumn . CopyName
565- ] ,
548+ operationColumn : [ OperationColumn . CopyName ] ,
566549 } ,
567550} ;
0 commit comments