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