File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -60,7 +60,7 @@ export async function serverActions(): Promise<void> {
60
60
const auth = iris
61
61
? `&IRISUsername=${ usernameEncoded } &IRISPassword=${ passwordEncoded } `
62
62
: `&CacheUserName=${ usernameEncoded } &CachePassword=${ passwordEncoded } ` ;
63
- const extraLinks = [ ] ;
63
+ let extraLinks = 0 ;
64
64
const file = currentFile ( ) ;
65
65
const classname = file && file . name . match ( / c l s $ / i) ? file . name : "" ;
66
66
for ( const title in links ) {
@@ -73,8 +73,8 @@ export async function serverActions(): Promise<void> {
73
73
. replace ( "${port}" , port . toString ( ) )
74
74
. replace ( "${namespace}" , ns == "%SYS" ? "sys" : nsEncoded . toLowerCase ( ) )
75
75
. replace ( "${classname}" , classname ) ;
76
- extraLinks . push ( {
77
- id : "extraLink" + extraLinks . length ,
76
+ actions . push ( {
77
+ id : "extraLink" + extraLinks ++ ,
78
78
label : title ,
79
79
detail : link ,
80
80
} ) ;
You can’t perform that action at this time.
0 commit comments