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
3f5049c7
Commit
3f5049c7
authored
Oct 10, 2018
by
ibuler
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[Update] 修改nav
parent
0b142705
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
4 deletions
+4
-4
nav.component.ts
src/app/elements/nav/nav.component.ts
+1
-1
sftp.component.ts
src/app/elements/sftp/sftp.component.ts
+3
-3
No files found.
src/app/elements/nav/nav.component.ts
View file @
3f5049c7
...
...
@@ -48,7 +48,7 @@ export class ElementNavComponent implements OnInit {
break
;
}
case
'ConnectSFTP'
:
{
window
.
open
(
'/
luna
/sftp/'
);
window
.
open
(
'/
coco/elfinder
/sftp/'
);
break
;
}
case
'HideLeft'
:
{
...
...
src/app/elements/sftp/sftp.component.ts
View file @
3f5049c7
...
...
@@ -13,6 +13,9 @@ export class SftpComponent implements OnInit {
@
ViewChild
(
'sftp'
)
el
:
ElementRef
;
constructor
(
private
sanitizer
:
DomSanitizer
)
{
if
(
!
this
.
host
)
{
DataStore
.
NavShow
=
false
;
}
}
ngOnInit
()
{
...
...
@@ -20,11 +23,8 @@ export class SftpComponent implements OnInit {
if
(
this
.
host
)
{
// _target += 'f5857eee-c114-4564-af8f-96329c400a8a' + '/';
_target
+=
this
.
host
.
id
+
'/'
;
}
else
{
DataStore
.
NavShow
=
false
;
}
this
.
trust
(
_target
);
console
.
log
(
this
.
host
.
id
);
}
trust
(
url
)
{
...
...
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