Change root path of file browser
parent
606aefc957
commit
0354782e9f
|
@ -1,8 +1,8 @@
|
|||
@page "/Files"
|
||||
@using LANCommander.Components.FileManagerComponents
|
||||
|
||||
<FileManager WorkingDirectory="C:\Games" />
|
||||
<FileManager WorkingDirectory="@RootPath" />
|
||||
|
||||
@code {
|
||||
|
||||
string RootPath = Path.GetPathRoot(Directory.GetCurrentDirectory());
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue