This website works better with JavaScript.
Home
Explore
帮助
返回水杉在线
登录水杉在线
登录水杉码园
wlxsp
/
test1
Watch
1
Star
0
Fork
0
Code
Issues
0
Pull Requests
0
Releases
0
Wiki
Activity
Browse Source
Avoids multiple calls to id
main
Eric Amodio
2 years ago
parent
90f465a848
commit
04666c2144
1 changed files
with
2 additions
and
1 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+2
-1
src/views/nodes/viewNode.ts
+ 2
- 1
src/views/nodes/viewNode.ts
View File
@ -95,7 +95,8 @@ export abstract class ViewNode
toClipboard
?
(
)
:
string
;
toString
(
)
:
string
{
return
`
${
Logger
.
toLoggableName
(
this
)
}
${
this
.
id
!=
null
?
`
(
${
this
.
id
}
)
`
:
''
}
`
;
const
id
=
this
.
id
;
return
`
${
Logger
.
toLoggableName
(
this
)
}
${
id
!=
null
?
`
(
${
id
}
)
`
:
''
}
`
;
}
protected
_uri
:
GitUri
;
Write
Preview
Loading…
Cancel
Save