Change root path of file browser
This commit is contained in:
		
							parent
							
								
									606aefc957
								
							
						
					
					
						commit
						0354782e9f
					
				
					 1 changed files with 2 additions and 2 deletions
				
			
		| 
						 | 
					@ -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…
	
	Add table
		
		Reference in a new issue