File tree Expand file tree Collapse file tree 1 file changed +5
-6
lines changed Expand file tree Collapse file tree 1 file changed +5
-6
lines changed Original file line number Diff line number Diff line change @@ -545,18 +545,17 @@ function store(state, emitter) {
545
545
} )
546
546
547
547
// NAVIGATION
548
- emitter . on ( 'navigate-to' , async ( device , fullPath ) => {
549
- log ( 'navigate-to' , device , fullPath )
548
+ emitter . on ( 'navigate-to' , async ( device , localPath ) => {
549
+ log ( 'navigate-to' , device , localPath )
550
550
state . blocking = true
551
551
emitter . emit ( 'render' )
552
- fullPath = fullPath || '/'
552
+ // localPath = localPath || '/'
553
553
if ( device === 'serial' ) {
554
- state . serialNavigation += '/' + fullPath
554
+ state . serialNavigation += '/' + localPath
555
555
state . serialNavigation = serial . cleanPath ( state . serialNavigation )
556
556
}
557
557
if ( device === 'disk' ) {
558
- state . diskNavigation += '/' + fullPath
559
- state . diskNavigation = await disk . cleanPath ( state . diskNavigation )
558
+ state . diskNavigation = await disk . cleanPath ( state . diskNavigation + '/' + localPath )
560
559
}
561
560
if ( state . selectedDevice === device ) {
562
561
state . selectedFile = null
You can’t perform that action at this time.
0 commit comments