File tree 2 files changed +4
-2
lines changed
2 files changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -20,6 +20,7 @@ import { CICSTree } from "../CICSTree";
20
20
import { CICSLocalFileTreeItem } from "../treeItems/CICSLocalFileTreeItem" ;
21
21
import { TextTreeItem } from "../treeItems/utils/TextTreeItem" ;
22
22
import { ViewMore } from "../treeItems/utils/ViewMore" ;
23
+ import { CicsCmciConstants } from "@zowe/cics-for-zowe-sdk" ;
23
24
24
25
export class CICSCombinedLocalFileTree extends TreeItem {
25
26
children : ( CICSLocalFileTreeItem | ViewMore ) [ ] | [ TextTreeItem ] | null ;
@@ -40,7 +41,7 @@ export class CICSCombinedLocalFileTree extends TreeItem {
40
41
this . activeFilter = undefined ;
41
42
this . currentCount = 0 ;
42
43
this . incrementCount = + `${ workspace . getConfiguration ( ) . get ( "zowe.cics.allLocalFiles.recordCountIncrement" ) } ` ;
43
- this . constant = "CICSLocalFile" ;
44
+ this . constant = CicsCmciConstants . CICS_CMCI_LOCAL_FILE ;
44
45
}
45
46
46
47
public async loadContents ( tree : CICSTree ) {
Original file line number Diff line number Diff line change @@ -16,6 +16,7 @@ import { getFolderIcon } from "../utils/iconUtils";
16
16
import { runGetResource } from "../utils/resourceUtils" ;
17
17
import { CICSRegionTree } from "./CICSRegionTree" ;
18
18
import { CICSLocalFileTreeItem } from "./treeItems/CICSLocalFileTreeItem" ;
19
+ import { CicsCmciConstants } from "@zowe/cics-for-zowe-sdk" ;
19
20
20
21
export class CICSLocalFileTree extends TreeItem {
21
22
children : CICSLocalFileTreeItem [ ] = [ ] ;
@@ -51,7 +52,7 @@ export class CICSLocalFileTree extends TreeItem {
51
52
try {
52
53
const localFileResponse = await runGetResource ( {
53
54
session : this . parentRegion . parentSession . session ,
54
- resourceName : "CICSLocalFile" ,
55
+ resourceName : CicsCmciConstants . CICS_CMCI_LOCAL_FILE ,
55
56
regionName : this . parentRegion . getRegionName ( ) ,
56
57
cicsPlex : this . parentRegion . parentPlex ? this . parentRegion . parentPlex . getPlexName ( ) : undefined ,
57
58
params : { criteria : criteria } ,
You can’t perform that action at this time.
0 commit comments