Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
L
luna
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
ops
luna
Commits
bfb3e0b0
Commit
bfb3e0b0
authored
Nov 09, 2018
by
ibuler
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[Bugfix] 修复上面没有title的bug
parent
22a082e1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
asset-tree.component.ts
src/app/elements/asset-tree/asset-tree.component.ts
+2
-2
No files found.
src/app/elements/asset-tree/asset-tree.component.ts
View file @
bfb3e0b0
...
...
@@ -190,7 +190,7 @@ export class ElementAssetTreeComponent implements OnInit, OnChanges {
const
host
=
this
.
rightClickSelectNode
.
asset
;
const
id
=
NavList
.
List
.
length
-
1
;
if
(
host
)
{
NavList
.
List
[
id
].
nick
=
'[FILE]'
+
host
.
name
;
NavList
.
List
[
id
].
nick
=
'[FILE]'
+
host
.
host
name
;
NavList
.
List
[
id
].
connected
=
true
;
NavList
.
List
[
id
].
edit
=
false
;
NavList
.
List
[
id
].
closed
=
false
;
...
...
@@ -210,7 +210,7 @@ export class ElementAssetTreeComponent implements OnInit, OnChanges {
login
(
host
,
user
)
{
const
id
=
NavList
.
List
.
length
-
1
;
if
(
user
)
{
NavList
.
List
[
id
].
nick
=
host
.
name
;
NavList
.
List
[
id
].
nick
=
host
.
host
name
;
NavList
.
List
[
id
].
connected
=
true
;
NavList
.
List
[
id
].
edit
=
false
;
NavList
.
List
[
id
].
closed
=
false
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment